wrapper for the Drukarnia API
Project description
drukarnia-api
Overview
drukarnia-api is a Python library designed as a wrapper for the Drukarnia API, providing various functionalities for interacting with the Drukarnia platform. It simplifies the process of accessing and manipulating data from the Drukarnia API, enabling users to seamlessly integrate Drukarnia's features into their applications. The library is actively being developed and already includes almost all of the necessary features. We are working diligently to implement the remaining features as quickly as possible.
Simple Usage
from drukarnia_api import Search
async def get_author_article_titles():
async with Search() as search_engine:
authors = await search_engine.find_author('cupomanka')
# Get the first search result
author = authors[0]
# Collect all data about the user
await author.collect_data()
# Get user articles
articles = await author.articles
# Print all titles
for article in articles:
print(article.title)
if __name__ == '__main__':
import asyncio
loop = asyncio.get_event_loop()
loop.run_until_complete(get_author_article_titles())
Installation
You can install drukarnia-api using pip:
pip install drukarnia-api
Contributing
Contributions to drukarnia-api are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on the GitHub repository: https://github.com/androu-sys/drukarnia-api.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drukarnia-api-0.1.913.tar.gz.
File metadata
- Download URL: drukarnia-api-0.1.913.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31ee68e032247fe3afd44ce0dc117b804b3614444f595fbde2a4cf4a0baf8f1c
|
|
| MD5 |
f84b33a02df2c71804a910f44b543fe2
|
|
| BLAKE2b-256 |
c52d3ab14faf449b0f1ae4b89556329c4f1cc11d8b8fc03a8f4014ba26d4eb77
|
File details
Details for the file drukarnia_api-0.1.913-py3-none-any.whl.
File metadata
- Download URL: drukarnia_api-0.1.913-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
679d84156caabb1f517dbb8a0c2b77686fc9c0c0b85be76cedb98f1478dc0e05
|
|
| MD5 |
b4de752c8628e3acfc58a59fb71581f2
|
|
| BLAKE2b-256 |
90a2c92622b3b483085e5a560a0c4f735488fc2fdc0e485cd11a4513cf1f4230
|