{"id":15569223,"url":"https://github.com/mosquito/rest-client","last_synced_at":"2025-04-09T17:21:07.212Z","repository":{"id":57461521,"uuid":"45454829","full_name":"mosquito/rest-client","owner":"mosquito","description":"RESTFull client library for python (based on tornado)","archived":false,"fork":false,"pushed_at":"2017-03-03T11:55:20.000Z","size":44,"stargazers_count":3,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T19:22:26.098Z","etag":null,"topics":["async-python","http-client","tornado"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mosquito.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-03T09:17:33.000Z","updated_at":"2020-11-27T07:14:51.000Z","dependencies_parsed_at":"2022-09-17T04:00:12.694Z","dependency_job_id":null,"html_url":"https://github.com/mosquito/rest-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosquito%2Frest-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosquito%2Frest-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosquito%2Frest-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosquito%2Frest-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mosquito","download_url":"https://codeload.github.com/mosquito/rest-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623007,"owners_count":20968574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async-python","http-client","tornado"],"created_at":"2024-10-02T17:23:04.691Z","updated_at":"2025-04-09T17:21:07.190Z","avatar_url":"https://github.com/mosquito.png","language":"Python","readme":"rest-client\n===========\n\n.. image:: https://travis-ci.org/mosquito/rest-client.svg\n    :target: https://travis-ci.org/mosquito/rest-client\n\n.. image:: https://img.shields.io/pypi/v/rest-client.svg\n    :target: https://pypi.python.org/pypi/rest-client/\n    :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/wheel/rest-client.svg\n    :target: https://pypi.python.org/pypi/rest-client/\n\n.. image:: https://img.shields.io/pypi/pyversions/rest-client.svg\n    :target: https://pypi.python.org/pypi/rest-client/\n\n.. image:: https://img.shields.io/pypi/l/rest-client.svg\n    :target: https://pypi.python.org/pypi/rest-client/\n\n\nRESTful Client for tornado with support cookies.\n\nExample::\n\n    # encoding: utf-8\n    from tornado.ioloop import IOLoop\n    from tornado.gen import coroutine, Return\n    from rest_client.async import RESTClient\n\n    io_loop = IOLoop.current()\n\n    @coroutine\n    def repo_list():\n        client = RESTClient(headers={'User-Agent': 'curl/7.43.0'})\n        # check api\n        yield client.get('https://api.github.com/users/octocat/orgs')\n\n        response = yield client.get('https://api.github.com/repos/vmg/redcarpet/issues?state=closed')\n        data = sum(map(lambda x: x.comments, response.body))\n        print('Total comments: {0}'.format(data))\n\n    exit(io_loop.run_sync(repo_list))\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosquito%2Frest-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmosquito%2Frest-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosquito%2Frest-client/lists"}