Skip to content

YazIbrahim/persona_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persona API

The Persona API is a fake RESTful API that delivers made up data on a few endpoints.

Setup

Requires Python 3

Install Dependencies

pip install -r requirements.txt

Run app

During the first run the profile data will be unzipped and loaded into the database.

python3 app.py

Test the following endpoints via the Swagger UI at http://127.0.0.1:5000/swagger

GET http://127.0.0.1:5000/people

GET http://127.0.0.1:5000/people/{page}

GET http://127.0.0.1:5000/search/{username}

DELETE http://127.0.0.1:5000/search/{username}

Run Automated Tests for APIs while the server is running

python3 tests/tests.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages