/e621py

e621 API wrapper for Python 3.6+

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

e621py

e621 mascot, Esix

An API Wrapper for the e621.net API.

Usage

Currently there is full funcationality for /posts/ endpoints. For some API calls authentication is required. To get an API Key, head to your API Access page and enable it.

>>> import e621py
>>> e6 = e621py.Client()
>>> for result in e6.index("shark", 2):
...     print(result)
{'id': 1914785, ...}
{'id': 1914718, ...}

The above code snippet will yield JSON objects containing all information about the found posts. The example doesn't show all information for the sake of brevity.

License

GNU General Public License v3.0