async-itunes-app-scraper-dmi-0.9.5
توضیحات
A lightweight async iTunes App Store scraper based on https://github.com/digitalmethodsinitiative/itunes-app-scraper
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | async-itunes-app-scraper-dmi-0.9.5 |
| نام | async-itunes-app-scraper-dmi |
| نسخه کتابخانه | 0.9.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | liorchen |
| ایمیل نویسنده | liorchen2@gmail.com |
| آدرس صفحه اصلی | https://github.com/liorchen/async-itunes-app-scraper |
| آدرس اینترنتی | https://pypi.org/project/async-itunes-app-scraper-dmi/ |
| مجوز | - |
# iTunes App Store Scraper
This defines a lightweight Python class that can be used to scrape app
information from the iTunes App Store. It defines a couple of methods that can
be used to get relevant app IDs given a set of parameters, and a couple of
methods to then scrape data about these app IDs.
Much of this has been adapted from
[app-store-scraper](https://github.com/facundoolano/app-store-scraper), a
nodeJS-based scraper that does similar things. But this scraper uses Python.
## Getting started
The following scrapes app details about all apps similar to the first result
for the 'fortnite' search query:
```python
from itunes_app_scraper.scraper import AppStoreScraper
import asyncio
import pprint
async def main():
scraper = AppStoreScraper()
results = await scraper.get_app_ids_for_query("fortnite")
# similar = await scraper.get_similar_app_ids_for_app(results[0])
async for app in scraper.get_multiple_app_details(results):
pprint.pprint(app)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```
Documentation is not available separately yet, but the code is relatively
simple and you can look in the `scraper.py` file to see what methods are
available and what their parameters are.
## License
This scraper was developed by the
[Digital Methods Initiative](https://digitalmethods.net), and is distributed
under the MIT license. See LICENSE for details.
نیازمندی
| مقدار | نام |
|---|---|
| <4.0,>=3.5.2 | aiohttp |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl async-itunes-app-scraper-dmi-0.9.5:
pip install async-itunes-app-scraper-dmi-0.9.5.whl
نصب پکیج tar.gz async-itunes-app-scraper-dmi-0.9.5:
pip install async-itunes-app-scraper-dmi-0.9.5.tar.gz