No project description provided
Project description
Ninegagposts
This is a python client to get 9Gag posts
Installation
Ninegagposts requires Python 3.6+ to run.
$ pip install ninegagposts
Examples
Get Last Post:
from ninegagposts import Client
Client.get_last_post() #returns a dictionary
Get Fresh Posts:
from ninegagposts import Client
Client.get_fresh_posts() #returns a dictionary list
Get Hot Posts:
from ninegagposts import Client
Client.get_hot_posts() #returns a dictionary list
Get Trending Posts:
from ninegagposts import Client
Client.get_trending_posts() #returns a dictionary list
Get Posts by Group:
from ninegagposts import Client
Client.get_posts_by_group(group="default", type="fresh") #returns a dictionary list
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
ninegagposts-0.0.1.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ninegagposts-0.0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8c7cf67f15ba9e219a4d6d6a994246ea4928e2c2d7253f6ea3a951f0409f70 |
|
MD5 | ce8a714cebc1fe2828bfe8cf80ba9192 |
|
BLAKE2b-256 | a48930a71194422d8fb3cde51fc2898ce84ce8c287cfbb1b6714edfb833fba97 |