{
"info": {
"author": "Arnau Sanchez",
"author_email": "pyarnau@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP"
],
"description": "Shoogle\n=======\n\nUse the Google API from the shell. An example, get the long URL using\nthe *urlshortener* service:\n\n::\n\n $ echo '{\"shortUrl\": \"http://goo.gl/Du5PSN\"}' | shoogle execute urlshortener:v1.url.get -\n {\n \"status\": \"OK\",\n \"id\": \"http://goo.gl/Du5PSN\",\n \"longUrl\": \"http://1.bp.blogspot.com/-R0HSXDqlJI8/Tr67i-kr7hI/AAAAAAABMko/gaId6iYuhjA/s1600/12_%252520Cross%252520that%252520bridge%252520when%252520we%252520come%252520to%252520it.jpg\",\n \"kind\": \"urlshortener#url\"\n }\n\nInstall\n-------\n\nDependencies\n~~~~~~~~~~~~\n\n- Python >= 3.0\n\nFrom PyPi\n~~~~~~~~~\n\n::\n\n $ sudo pip install shoogle\n\nFrom sources\n~~~~~~~~~~~~\n\n::\n\n $ wget https://github.com/tokland/shoogle/archive/master.zip\n $ unzip master.zip\n $ cd shoogle-master\n $ sudo pip install pypandoc\n $ sudo python setup.py install\n\nFeatures\n--------\n\n- Exposes agnostically all the services in the API.\n- Provides infrastructure for the Oauth2 authentication (console or\n QT/GTK browser).\n- Shows information from the Google Discovery API to help build the\n JSON requests.\n- Save credentials for each set of scopes.\n\nSetup: configure the API and secret keys\n----------------------------------------\n\n- You must enable the services you want to use and create the required\n keys or secret file in the `API\n Manager `_. Each service\n has its own policies, check the Google documentation for more\n details.\n\nCommands\n--------\n\nshow\n~~~~\n\nIncrementally show details of services/resources/methods:\n\n::\n\n $ shoogle show\n adexchangebuyer2:v2beta1 - Ad Exchange Buyer API II\n adexchangebuyer:v1.2 - Ad Exchange Buyer API\n ...\n youtubeAnalytics:v1beta1 - YouTube Analytics API\n youtubereporting:v1 - YouTube Reporting API\n\n::\n\n $ shoogle show short\n urlshortener:v1 - URL Shortener API\n\n::\n\n $ shoogle show urlshortener:v1\n urlshortener:v1.url\n\n::\n\n $ shoogle show urlshortener:v1.url\n urlshortener:v1.url.get - Expands a short URL or gets creation time and analytics.\n urlshortener:v1.url.insert - Creates a new short URL.\n urlshortener:v1.url.list - Retrieves a list of URLs shortened by a user.\n\n::\n\n $ shoogle show urlshortener:v1.url.get\n [INFO] Response (level=0, --debug-response-level=N to change):\n {\n \"$ref\": \"Url\"\n }\n [INFO] Request (level=1, --debug-request-level=N to change):\n {\n \"shortUrl\": \"(string) The short URL, including the protocol - required\"\n }\n\nexecute\n~~~~~~~\n\n- Expand a short URL:\n\n::\n\n $ cat get-longurl.json \n {\n \"key\": \"YOUR_SECRET_KEY\", // You can use JS comments!\n \"shortUrl\": \"http://goo.gl/Du5PSN\"\n }\n\n $ shoogle execute urlshortener:v1.url.get get-longurl.json\n {\n \"status\": \"OK\",\n \"id\": \"http://goo.gl/Du5PSN\",\n \"longUrl\": \"http://1.bp.blogspot.com/-R0HSXDqlJI8/Tr67i-kr7hI/AAAAAAABMko/gaId6iYuhjA/s1600/12_%252520Cross%252520that%252520bridge%252520when%252520we%252520come%252520to%252520it.jpg\",\n \"kind\": \"urlshortener#url\"\n }\n\n- `jq `_ is a command-line JSON\n builder/parser. This example shows how to upload a video from a JSON\n template and extract the ID from the response:\n\n::\n\n $ cat upload-video.template.json\n {\n \"part\": \"snippet\",\n \"body\": {\n \"snippet\": {\n \"title\": $title,\n \"description\": $description\n }\n }\n }\n\n::\n\n $ jq -n -f upload-video.template.json --arg title \"Chess\" --arg description \"Norway Chess\" |\n shoogle execute -c your_client_id.json youtube:v3.videos.insert - -f chess.mp4 |\n jq -r '.id'\n wUArz2nPGqA\n\nMore\n----\n\n- License: `GNU/GPLv3 `_.\n\nFeedback\n--------\n\n- Issues: Please open issues only to report bugs of the package. If you\n have problems regarding how to use the API itself (what auth is\n required, how to create those auth files, how to build the request\n parameters, quotas management, etc), use the `Google\n Forums `_ or\n `StackOverflow `_.\n\n- `Want to\n donate? `_\n\n\n\n\nChangeLog\n=========\n\n[0.1.0]\n-------\n\n- Provides infrastructure for Oauth2 authentication (console and\n browser).\n- Exposes all services supported by the Python Gooogle API.",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/tokland/shoogle",
"keywords": "shoogle",
"license": "ISCL",
"maintainer": null,
"maintainer_email": null,
"name": "shoogle",
"package_url": "https://pypi.org/project/shoogle/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/shoogle/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/tokland/shoogle"
},
"release_url": "https://pypi.org/project/shoogle/0.1.4/",
"requires_dist": null,
"requires_python": null,
"summary": "Google API from the command line",
"version": "0.1.4"
},
"last_serial": 2254154,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "595a0c90c85a5391f6738a419d06754a",
"sha256": "d69aa3913321b482f7562f2ccf77afec29ecfa944b41a095e834d3e575cb2422"
},
"downloads": -1,
"filename": "shoogle-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "595a0c90c85a5391f6738a419d06754a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28800,
"upload_time": "2016-04-18T17:29:39",
"url": "https://files.pythonhosted.org/packages/5d/cf/399a563064f5df65a666b61d4cd810e990dc102abd73c42106d7c84e14c6/shoogle-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "c6190a0700799e007849222ca1c4f503",
"sha256": "ee6bbe59730181fc9498214f7fdd2df6b45887b24c2ff8fbd69709fc79468e9a"
},
"downloads": -1,
"filename": "shoogle-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "c6190a0700799e007849222ca1c4f503",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29618,
"upload_time": "2016-04-18T17:54:10",
"url": "https://files.pythonhosted.org/packages/47/5a/4428b05deb45a5e15009f2bd7d8f5c8906f698f2b559b08f9df3d8d42ad4/shoogle-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "2785b887f02f6dcbaff69c8168e69887",
"sha256": "a338b3ebaa0c8744023c88e8a6861315c487f8ff05cf0521462d76c42ef68c66"
},
"downloads": -1,
"filename": "shoogle-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "2785b887f02f6dcbaff69c8168e69887",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29631,
"upload_time": "2016-04-18T18:03:18",
"url": "https://files.pythonhosted.org/packages/00/e3/216f0d049393399bda2c367780d02b791a6b7c24026361bde8fe052f4131/shoogle-0.1.2.tar.gz"
}
],
"0.1.3": [
{
"comment_text": "",
"digests": {
"md5": "0ba0ff3f3134b5e7959d43d78915c156",
"sha256": "9b2c04497cd6ac00e277ef27179041343c0114fe045545a0082d2572ae9304a4"
},
"downloads": -1,
"filename": "shoogle-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "0ba0ff3f3134b5e7959d43d78915c156",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29778,
"upload_time": "2016-04-18T18:18:31",
"url": "https://files.pythonhosted.org/packages/a8/30/d57e0dc9e271402a97c68b98e9e93e555a788017a09397040c184e3ea27f/shoogle-0.1.3.tar.gz"
}
],
"0.1.4": [
{
"comment_text": "",
"digests": {
"md5": "5dabeac3fcc9d54a1e7cd27e72b9f145",
"sha256": "37e0fe894ce716db32e27ada0f6182c5def561d688e58bf8b47c3b0f3de9634e"
},
"downloads": -1,
"filename": "shoogle-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "5dabeac3fcc9d54a1e7cd27e72b9f145",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 33565,
"upload_time": "2016-07-31T20:07:07",
"url": "https://files.pythonhosted.org/packages/73/aa/2d9f80f37fd99eebe036896b84a560fd904b9c822c1480d410f4e389921f/shoogle-0.1.4.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "5dabeac3fcc9d54a1e7cd27e72b9f145",
"sha256": "37e0fe894ce716db32e27ada0f6182c5def561d688e58bf8b47c3b0f3de9634e"
},
"downloads": -1,
"filename": "shoogle-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "5dabeac3fcc9d54a1e7cd27e72b9f145",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 33565,
"upload_time": "2016-07-31T20:07:07",
"url": "https://files.pythonhosted.org/packages/73/aa/2d9f80f37fd99eebe036896b84a560fd904b9c822c1480d410f4e389921f/shoogle-0.1.4.tar.gz"
}
]
}