Skip to content

DevBoiAgru/GoofyAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Very goofy Python wrapper for a goofy API

By DevBoiAgru

You can make http calls yourself here.

Functions:

  1. ip(): Returns a randomly generated FAKE ip address (returns a string)
  2. Quote(): Returns a random quote from the baby blue club in the following format: [author, quote] (returns a python list)
  3. password(length): Returns a random password of specified length (returns a string)

image

How to use:

  • Download goofy.py
  • Put it in your root folder
  • Import the whole module using import goofy or import functions separately using from goofy import <function name>
  • Use as usual!

Requirements:

  • requests module

HTTP Calls

If you are not using python, or just don't want to put a goofy.py in your directory, you can use the following endpoints to fetch data.

Base url: https://sussyworkshop.pythonanywhere.com

Add a "code" header with whatever content you want so that it doesnt return you the HTML page!

Quote

Method: GET
Endpoint: /quote
Sample response:

{
"author": "themuye",
"error": "None",
"quote": "If ya wanna become monke press f "
}

IP

Method: GET
Endpoint: /ip
Sample response:

{
"error": "None",
"ip": "69.69.69.69"
}

Password

Method: GET
Endpoint: /password
Supported query string: length
Sample response:

{
"error": "None",
"password": "`1072d+'GIH6"
}

More coming soon!

About

Python wrapper for a silly useless API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages