Skip to content

rosaqq/cookie-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages