Skip to content

Very simple example of an API written in Python

Notifications You must be signed in to change notification settings

Hahdin/PythonApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python API

based off tutorial found here

Installation

Requirements

  • Python 3+ - this will include pip

    Version 3.6.2 used.

  • Use pip to install flask-restful

pip install flask-restful

Flask-RESTful requires Python version 2.6, 2.7, 3.3, 3.4, 3.5 or 3.6.

config.json

You must include a config.json file in the main folder and add the following with the port number of your choosing:

{
   "PORT": 7777
}

Testing tools

install either:

Debugging

Using VS Code press F5 and choose either Python File or Flask to start the server.

About

Very simple example of an API written in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages