{ "info": { "author": "Devin Sevilla", "author_email": "dasevilla@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "==========================\nMashery API Client Library\n==========================\n\nA simple Python client library for the `Mashery API `_.\n\n\nExample\n=======\n\nQuery recently created apps:\n\n.. code:: python\n\n from masheryclient.jsonrpc import MasheryJsonRpcApi\n\n json_rpc_api_client = MasheryJsonRpcApi(\n MASHERY_SITE_ID,\n MASHERY_SERVICE_KEY,\n MASHERY_API_KEY,\n MASHERY_API_SECRET\n )\n\n mashery_query = 'SELECT * FROM applications ORDER BY created DESC ITEMS 10'\n r = json_rpc_api_client.query(mashery_query)['items']\n\n for app in r:\n print app['name']\n\nTop API callers within the specified time period:\n\n.. code:: python\n\n reporting_client = MasheryReportingApi(\n MASHERY_SITE_ID,\n MASHERY_SERVICE_KEY,\n MASHERY_API_KEY,\n MASHERY_API_SECRET,\n )\n\n r = reporting_client.developer_activity_for_service(start_date_str, end_date_str, limit)\n\n app_list = []\n for app in r:\n api_key = app['serviceDevKey']\n call_count_success = app['callStatusSuccessful']\n call_count_blocked = app['callStatusBlocked']\n call_count_other = app['callStatusOther']", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/dasevilla/mashery-python/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dasevilla/mashery-python", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "masheryclient", "package_url": "https://pypi.org/project/masheryclient/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/masheryclient/", "project_urls": { "Download": "https://github.com/dasevilla/mashery-python/tarball/master", "Homepage": "https://github.com/dasevilla/mashery-python" }, "release_url": "https://pypi.org/project/masheryclient/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A simple Python client library for the Mashery API", "version": "0.1.0" }, "last_serial": 1014417, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e40a27534fd9d311f7432a9e5e0f5627", "sha256": "549878771dd36f567ec43b345e26eb4aed1d82582fc9bf106ea3cab5beb617b0" }, "downloads": -1, "filename": "masheryclient-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e40a27534fd9d311f7432a9e5e0f5627", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4831, "upload_time": "2014-02-28T01:07:43", "url": "https://files.pythonhosted.org/packages/71/f1/d92e357911d3cdae06e9779d906c3ee1e8b7086a5392cc3a54d46445c0e7/masheryclient-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e40a27534fd9d311f7432a9e5e0f5627", "sha256": "549878771dd36f567ec43b345e26eb4aed1d82582fc9bf106ea3cab5beb617b0" }, "downloads": -1, "filename": "masheryclient-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e40a27534fd9d311f7432a9e5e0f5627", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4831, "upload_time": "2014-02-28T01:07:43", "url": "https://files.pythonhosted.org/packages/71/f1/d92e357911d3cdae06e9779d906c3ee1e8b7086a5392cc3a54d46445c0e7/masheryclient-0.1.0.tar.gz" } ] }