Skip to content

My first attempt at an Flask web api.

Notifications You must be signed in to change notification settings

Murphybro2/Flask_AI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Flask_AI

A web site created with Python Flask, to showcase Artificial Intelligence projects.


API

Usage

All reponses will have the following form:

{
    "data": "Mixed type holding the contents of the response",
    "message": "Description of what happened"
}

Subsequent response definitions will only detail the expected value of the data field.

Grid

Definition

GET /grid

Response

  • 200 OK on success
[
    {
        "grid": "json representation of 2d array"
    }
]

Definition

POST /grid/<size>

Arguments

  • "Size":int the size of the 2d array to be created.

Response

  • 201 OK created success

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

My first attempt at an Flask web api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.0%
  • HTML 1.4%
  • Other 0.6%