overview
This Python/Flask API provides features for accessing a consilidated version of the National U.F.O. Reporting Center's sightings 'Data Bank' by 'Event Date' via the endpoints listed in the 'DELINEATION' section below and referenced in the 'INDEX' above. The version of that database that can be accessed here is presented in its unaltered state with transformed data appended to the source data rather than transformed and then overwritten. With the exception of the random, rss.xml and sitemap endpoints, all of the examples provided in the this document are limited to displaying one row of random data from a plausible (although ultimately hypothetical) response provided by that endpoint; or, the endpoint is a branch node in the URL tree but is not a responsive (e.g. standalone) endpoint in and of itself (i.e. the query) endpoint). The random endpoint only ever displays one row of data. The rss.xml endpoint provides a validated rss feed that shows a complete list of sightings from the 'this day in history' (e.g. from today's dayclass, in other words, the resulting data displayed has the same source as the /sightings/query?dayclass=today's_two_digit_month_and_two_digit_year endpoint). The application is also largely self-documenting given a Flask route definition and a properly formatted and named Python dictionary.
top
rss
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/today/rss.xml
output
|
|---|
random
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/today/random
output
|
|---|
maximumduration
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?maximumduration=5.0
output
|
|---|
minimumduration
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?minimumduration=3.0
output
|
|---|
startdate
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?startdate=20170706
output
|
|---|
dayclass
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?dayclass=0615
output
|
|---|
enddate
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?enddate=20211101
output
|
|---|
month
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?month=10
output
|
|---|
shape
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?shape=light
output
|
|---|
state
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?state=GA
output
|
|---|
city
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?city=Dublin (Near Warner Robins)
output
|
|---|
date
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?date=20190525
output
|
|---|
year
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?year=2003
output
|
|---|
day
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query?day=26
output
|
|---|
query
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/query=
output
|
|---|
today
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings/today
output
|
|---|
sightings
|
input
https://nuforc-sightings-database-api.herokuapp.com/sightings=
output
|
|---|
sitemap
|
input
https://nuforc-sightings-database-api.herokuapp.com/sitemap
output
|
|---|
index~
|
input
https://nuforc-sightings-database-api.herokuapp.com/
|
|---|