aiofb
A thin asynchronous Python wrapper for Facebook graph API.
This library requires Python 3.5+
Installation
Using pip
$ pip install aiofb
Basic usage
Example
import asyncio
import aiofb
# initialize Graph API
fb = aiofb.GraphAPI(access_token='YOUR_ACCESS_TOKEN')
# Get an event loop
loop = asyncio.get_event_loop()
# Get results
data = loop.run_until_complete(fb.get('/{some-endpoint}'))
History
0.1.0 (2018-04-06)
Packege created.
0.1.1 (2018-05-17)
Clean up
First release on PyPI
0.1.2 (2018-10-02)
Return raw python data decoded from json response instead of aiohttp.ClientResponse object.
0.1.3 (2019-01-11)
Change default Messenger user profile fields to name,first_name,last_name and profile_pic to reflect new Messenger API policy.
0.1.3 (2019-02-10)
Add method for taking Messebger thread control (messenger.take_thread_control(data, session=None)))
Metadata
Release files for aiofb 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiofb-0.1.4.tar.gz | 15.2 kB | Details |
Release files / aiofb-0.1.4.tar.gz
| Download URL | aiofb-0.1.4.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67cec6b28744e0e36f5f77d2aa96ea716d819b2283b275caf0219e2f702e0076
|
|
BLAKE2b-256 checksum How to use checksums |
b8ae67aded97820b57bfad7650cb33683dc3f84d81c66654ab32ca15731571de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.6.3
|