Skip to content

About

This is an API that returns a cookie for the user

Resources

Stars

1 star

Watchers

5 watching

Forks

Latest commit

 

History

78 Commits

Folders and files

Repository files navigation

Benolot's cookie API, python version

https://img.shields.io/travis/secknv/cookie-api.svg?style=flat-square https://img.shields.io/pypi/v/realcookie.svg?style=flat-square https://img.shields.io/pypi/pyversions/realcookie.svg?style=flat-square

ball1.gif


This python package gives you three functions, add, gib, count, and rm, explained below:

add
The 'add' function takes a cookie image url as argument and saves that image to a database folder.
gib
The 'gib' function takes no argumens and returns the path to one of the images in the previously mentioned databse folder, randomely picked.
count
The 'count' function returns the number of images currently in the database folder.
rm
The 'rm' function deletes the database folder and all the images in it.

To install, simply get to a command line in a computer with python installed, and do:

pip install realcookie

To use, simply do:

>>> import realcookie
>>> a = realcookie.cookie()
>>> a.add('some cookie image url')
>>> a.gib()

About

This is an API that returns a cookie for the user

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages