Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wdwind/pocket48_api
Pocket48 private api in Python.
https://github.com/wdwind/pocket48_api
pocket48 snh48
Last synced: about 2 months ago
JSON representation
Pocket48 private api in Python.
- Host: GitHub
- URL: https://github.com/wdwind/pocket48_api
- Owner: wdwind
- License: mit
- Created: 2020-11-04T06:11:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T06:52:46.000Z (about 1 year ago)
- Last Synced: 2024-03-14T21:27:30.998Z (10 months ago)
- Topics: pocket48, snh48
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pocket48 API
A Python wrapper for Pocket48 API.
![Python 3.7](https://img.shields.io/badge/Python-3.7-3776ab.svg?maxAge=2592000)
## Install
* Install with pip:
```
pip install git+https://[email protected]:wdwind/pocket48_api.git
```* To update:
```
pip install git+https://[email protected]:wdwind/pocket48_api.git --upgrade
```* To update with latest repo code:
```
pip install git+https://[email protected]:wdwind/pocket48_api.git --upgrade --force-reinstall
```
## Notes1. `pa`
A sample `pa` is provided in the api code, however, it can be only used by one account for at least 10 minutes (meaning after 10 minutes it can be reused by other accounts). It is better to have your own `pa`.
1. Avoiding Re-login
The recommendation is to save the requests sessions to avoid login every time when initiating the class. Too many logins may result in an account/ip ban.## Examples
Check [``examples/``](examples/).
## License
MIT
## Disclaimer
Pocket48 services are changing constantly. Use it at your own risk.