Giter VIP home page Giter VIP logo

pypr0's Introduction

Python api for pr0gramm.com

Installation

pip

pip3 install pypr0

Manually

For Debian and Ubuntu users:
apt install python python3-pip
pip3 install requests

Then clone the repository
git clone https://github.com/itssme/pypr0.git


For running the tests go into the cloned folder
cd pypr0

Run the tests with following command
python3 tests.py

For running tests with login
USERNAME="itssme" PASSWORD="1234" LOGIN="true" python3 tests.py


Examples

For examples see this repository: https://github.com/itssme/pypr0-examples


CircleCI build

CircleCI

Release Notes

0.2.5

current version

  • a lot of refactoring and cleaning up in all api functions
  • passing 'newer' to get_items_by_tag is now deprecated, instead pass 'older' as a boolean and pass an 'item' as id (just like for any other api function)
  • more extensive tests
  • passing multiple tags to items get now works again (ref: itssme#6); thanks to @5n0wstorm

0.2

  • added get_collection_items and get_collection_items_iterator which gets the content of a collection (replacing favorites)

0.1.7

  • updated to python3

thanks to @FritzJo

pypr0's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.