{ "info": { "author": "Chris Stevens", "author_email": "chris.stevens@mail.utoronto.ca", "bugtrack_url": null, "classifiers": [], "description": "garc: Python and Command-Line Interface for Gab.ai API\n=====\n\nGarc is a python library and command line tool for collecting JSON data from Gab.ai\n\nGarc is built based on the wonderful [twarc](https://github.com/DocNow/twarc) project published by the Documenting the Now project. Inspiration for structure, usage and outputs are from twarc, and garc is intended to be used for similar purposes.\n\nGarc is still very much a work in progress, and is being constantly updated to add deeper functionality and as new features and changes are implemented by Gab.\n\nGab has recently released a set of API docs (https://developers.gab.com/), which this current version does not use. A new version utilizing these new API routes is in development and will be released soon after Gab comes back online. Certain functionality, such as returning gabs via search, doesn't appear in these new docs. The new version will perserve this functionality as well as adding the additional feed based functionaality in the newly released docs.\n\n\n## Warnings\n\nGab's API was historically relatively sparsely documented, so things may change without warning and break searches. This current version relies on these potentially unreliable API routes. \n\nPlease be respectful when using this and any data collection software, try not to make excessive searches and calls.\n\n\n## Installation\n\nThere are two options for installing garc. \n\n1. From pypi the official python package repository, which will always have the most stable release:\n `pip install garc`\n2. Directly from Github, which will have the newest release:\n `pip install git+git://github.com/ChrisStevens/garc.git`\n\n\n## Usage\n\n\n### Configure\n\nFirst you need to give garc your account information:\n\n garc configure\n\nYou only need the username and password for your account created at Gab.ai. Without an account you won't be able to interact with the api, or get any results from garc.\n\n### Search\n\nUsing the Gab search API you can collect posts based on a search term. As Gab's API is mostly undoumented it is hard to know exactly what the searches return (it is however the same data as appears on the Gab website for a search). Initial tests have found matches for the search term in both the post body and the users description, and the search uses some type of fuzzy matching or word stemming, as matches for not exact terms have shown up.\n\nA simple call\n \n garc search maga\n\nWill return as many historical gabs as are available (usually around 9000 irrespective of post dates).\n\nYou can also limit the number of returns with the --number_gabs parameter\n\n garc search maga --number_gabs=100\n\nWhich will return approxiately 100 of the most recent posts.\n\n\n\n### User Posts\n\nAnother way to collect posts is by collecting all the posts made by a single user\n\n garc userposts fakeusername\n\nAs some users have a large number of posts this can take a long time to collect the entirey of a users timeline. Additional there are both number and time filters you can pass to limit the number of posts.\n\n garc userposts fakeusername --number_gabs=100\n\nWill return aproximately 100 posts from the top of a users timeline\n\n garc userposts fakeusername --gabs_after=2018-05-12\n\nWill return all gabs from after 2018-05-12\n\n\n### User info\n\nYou can also collect the information of a user\n\n garc user fakeusername\n\nWhich will return a json object of information about the user", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ChrisStevens/garc", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "garc", "package_url": "https://pypi.org/project/garc/", "platform": "", "project_url": "https://pypi.org/project/garc/", "project_urls": { "Homepage": "https://github.com/ChrisStevens/garc" }, "release_url": "https://pypi.org/project/garc/1.2/", "requires_dist": null, "requires_python": "", "summary": "Archive Gab.ai posts from the command line", "version": "1.2" }, "last_serial": 4556856, "releases": { "0.0.9": [ { "comment_text": "", "digests": { "md5": "bbfd2176c41f494f0df50646bb76ae89", "sha256": "ef8e569d9735dfa76cf8166598002f9d1866391f1379638f7b86cab7e8e3ce5e" }, "downloads": -1, "filename": "garc-0.0.9-py2.7.egg", "has_sig": false, "md5_digest": "bbfd2176c41f494f0df50646bb76ae89", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 10333, "upload_time": "2018-08-14T10:06:34", "url": "https://files.pythonhosted.org/packages/87/ac/c06df61c919094bfccb9427addc801b20702a87d70faeb9ca92e7a61996c/garc-0.0.9-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b8e64ef3b4d4aaf8a1126c03f8cbbf82", "sha256": "db9cff33c5248b421921778b4448a73f6c9ff2a4e6f8bf3e7509ae80e20024d5" }, "downloads": -1, "filename": "garc-0.0.9-py3.6.egg", "has_sig": false, "md5_digest": "b8e64ef3b4d4aaf8a1126c03f8cbbf82", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 11470, "upload_time": "2018-08-14T10:06:35", "url": "https://files.pythonhosted.org/packages/ad/76/0dbca362b45d4303cdd9e36da3ec2cf248b3f9a9210e92c388a21559bb50/garc-0.0.9-py3.6.egg" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "a05d10f28585050c41ed349a979b18be", "sha256": "d7e40e7d22ca8ac9f44438e9b448545d43c3de21dcee044355bff04b1e9fe307" }, "downloads": -1, "filename": "garc-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "a05d10f28585050c41ed349a979b18be", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 11654, "upload_time": "2018-08-14T10:06:36", "url": "https://files.pythonhosted.org/packages/a5/ba/91bd788fd91d62eaf961b063c1337ad9f024e8a1f66eb3b1de048f0d7a42/garc-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "604f7c168d73462291a7eef27c199923", "sha256": "16d4d43b6140c7a5785d4906606b19c7a49123145eddf88685863a9424ae3796" }, "downloads": -1, "filename": "garc-0.1.0.tar.gz", "has_sig": false, "md5_digest": "604f7c168d73462291a7eef27c199923", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5929, "upload_time": "2018-08-01T09:29:58", "url": "https://files.pythonhosted.org/packages/26/84/9e183d884e10223f9cd1c5a09cbb02e6f130e01c975118867fec434e214f/garc-0.1.0.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "a5ee45e06321832349b6d81bcbd0b16c", "sha256": "c78296c965ffa9411677feed97453912949d66a43c62851c10b5f6fb62647fc4" }, "downloads": -1, "filename": "garc-1.0.tar.gz", "has_sig": false, "md5_digest": "a5ee45e06321832349b6d81bcbd0b16c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5948, "upload_time": "2018-08-01T09:33:34", "url": "https://files.pythonhosted.org/packages/f4/52/9b7aef6f4bf80992e6ea94a138bb070903610e390da05f10a7c3300e8a19/garc-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "9e7375d4896fdd1cd36cfe96bde7847f", "sha256": "c37d759be2fbdce21acb90a2f477c474cd6222b45ded702177d3e10970f4cce5" }, "downloads": -1, "filename": "garc-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9e7375d4896fdd1cd36cfe96bde7847f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6154, "upload_time": "2018-08-01T09:35:13", "url": "https://files.pythonhosted.org/packages/cc/3a/38adbe6a9e075884eb9f100a8e9cd1c6ffd38ac8d89058242ad90fcd9aa3/garc-1.0.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "18669b9ab98b3db6cf7e1a9796d83295", "sha256": "568675d8cc0ed7d1c08954d610a17438c08dd2ce2ddbc53fd7868ec91ab8d3ca" }, "downloads": -1, "filename": "garc-1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "18669b9ab98b3db6cf7e1a9796d83295", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6922, "upload_time": "2018-08-14T10:06:32", "url": "https://files.pythonhosted.org/packages/b8/da/bf25bc9708d34550699a1e22dda4780133525db05d159f79e331864e8c58/garc-1.1.1-py2-none-any.whl" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "9da3f3bc4af682de9dc28747535412d0", "sha256": "7182ff84397f2008435ac32e753884c057734b786d4c997f61f99f9904645a7d" }, "downloads": -1, "filename": "garc-1.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "9da3f3bc4af682de9dc28747535412d0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6923, "upload_time": "2018-08-14T10:07:33", "url": "https://files.pythonhosted.org/packages/81/08/efaff4511dd8730ff8cbee13bbbbddd433b48fd9514baf3242e56b4490ef/garc-1.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b3a0cb01031e35ad70ddd00bb63de6d", "sha256": "96623f1ff5b5c31b86ac04336bbb9ffecb9a82980be29ee84d275d9dff162261" }, "downloads": -1, "filename": "garc-1.1.3.tar.gz", "has_sig": false, "md5_digest": "4b3a0cb01031e35ad70ddd00bb63de6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6366, "upload_time": "2018-08-14T10:07:34", "url": "https://files.pythonhosted.org/packages/4a/ac/146828746e553f7fcc28b29db78668b5931a9edecbc00e0e62c43ffb18e5/garc-1.1.3.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "8a66afd68feb1064dc0f101cc5171b90", "sha256": "de7709da35a5d98f069a3ac30a6c5096c434d28bfc88340b19687bdc0779dc3d" }, "downloads": -1, "filename": "garc-1.1.5-py2.7.egg", "has_sig": false, "md5_digest": "8a66afd68feb1064dc0f101cc5171b90", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 13601, "upload_time": "2018-12-03T19:16:59", "url": "https://files.pythonhosted.org/packages/09/f8/0cce8571b4b265aa6bbd71836be2570a4ccf14475e0fc2fb40aa36f6eab4/garc-1.1.5-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d601070069233e745e81cc14445046c9", "sha256": "fc110d83deed698e05c158e4570511089a2d094b90674750defc64d68ef36929" }, "downloads": -1, "filename": "garc-1.1.5.tar.gz", "has_sig": false, "md5_digest": "d601070069233e745e81cc14445046c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6360, "upload_time": "2018-08-14T10:09:32", "url": "https://files.pythonhosted.org/packages/0a/89/81a09955546d87b26e2809a1668312d1fdd4bcd3b326b3752ad070d88322/garc-1.1.5.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "6248c97d0cb919b8f8efa088dd689cf1", "sha256": "7064b42e1518b615c0f0aba724f972e6dd83b69106e7ec7fefcdb3d6a2e640c2" }, "downloads": -1, "filename": "garc-1.2.tar.gz", "has_sig": false, "md5_digest": "6248c97d0cb919b8f8efa088dd689cf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6790, "upload_time": "2018-12-03T19:17:00", "url": "https://files.pythonhosted.org/packages/81/57/6b41127e446a2d850383ae56a5ba3bdbd5bc7202fe84c67948916d4eb74a/garc-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6248c97d0cb919b8f8efa088dd689cf1", "sha256": "7064b42e1518b615c0f0aba724f972e6dd83b69106e7ec7fefcdb3d6a2e640c2" }, "downloads": -1, "filename": "garc-1.2.tar.gz", "has_sig": false, "md5_digest": "6248c97d0cb919b8f8efa088dd689cf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6790, "upload_time": "2018-12-03T19:17:00", "url": "https://files.pythonhosted.org/packages/81/57/6b41127e446a2d850383ae56a5ba3bdbd5bc7202fe84c67948916d4eb74a/garc-1.2.tar.gz" } ] }