All Projects β†’ csshen β†’ atlas-obscura-api

csshen / atlas-obscura-api

Licence: other
A simple flask api for Atlas Obscura.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to atlas-obscura-api

Euro2016 TerminalApp
⚽ Instantly find πŸ†EURO 2016 live-streams & highlights, now a Web App!
Stars: ✭ 54 (+86.21%)
Mutual labels:  beautifulsoup
web-scraping-with-python
In this repository i will expalin how to scrap websites using python programming language with BeautifulSoup and requestsmodulues
Stars: ✭ 44 (+51.72%)
Mutual labels:  beautifulsoup
Data-Wrangling-with-Python
Simplify your ETL processes with these hands-on data sanitation tips, tricks, and best practices
Stars: ✭ 90 (+210.34%)
Mutual labels:  beautifulsoup
chopper
Chopper is a tool to extract elements from HTML by preserving ancestors and CSS rules
Stars: ✭ 22 (-24.14%)
Mutual labels:  beautifulsoup
SD-streams
Anime streaming without ads using Beautifulsoup and requests Python
Stars: ✭ 18 (-37.93%)
Mutual labels:  beautifulsoup
non-api-fb-scraper
Scrape public FaceBook posts from any group or user into a .csv file without needing to register for any API access
Stars: ✭ 40 (+37.93%)
Mutual labels:  beautifulsoup
Djangohunter
Tool designed to help identify incorrectly configured Django applications that are exposing sensitive information.
Stars: ✭ 212 (+631.03%)
Mutual labels:  beautifulsoup
beautifulsoup.dart
A dart port of the famous python library beautifulsoup
Stars: ✭ 19 (-34.48%)
Mutual labels:  beautifulsoup
WhatSoup
A web scraper that exports your entire WhatsApp chat history.
Stars: ✭ 86 (+196.55%)
Mutual labels:  beautifulsoup
html-table-extractor
extract data from html table
Stars: ✭ 74 (+155.17%)
Mutual labels:  beautifulsoup
linkedin-scraper
Tool to scrape linkedin
Stars: ✭ 74 (+155.17%)
Mutual labels:  beautifulsoup
BookingScraper
🌎 🏨 Scrape Booking.com 🏨 🌎
Stars: ✭ 68 (+134.48%)
Mutual labels:  beautifulsoup
Tieba-Birthday-Spider
η™ΎεΊ¦θ΄΄ε§η”Ÿζ—₯ηˆ¬θ™«οΌŒε―ζŠ“ε–θ΄΄ε§ε†…ε§ε‹η”Ÿζ—₯οΌŒεΉΆδΈ”εœ¨ε―ΉεΊ”ζ—₯期θ‡ͺεŠ¨ε‘ι€η₯η¦
Stars: ✭ 28 (-3.45%)
Mutual labels:  beautifulsoup
wikipedia-reference-scraper
Wikipedia API wrapper for references
Stars: ✭ 34 (+17.24%)
Mutual labels:  beautifulsoup
grailer
web scraping tool for grailed.com
Stars: ✭ 30 (+3.45%)
Mutual labels:  beautifulsoup
GoodReadsScraper
πŸ“š A GoodReads.com Scraper script to get books reviews including text and rating.
Stars: ✭ 36 (+24.14%)
Mutual labels:  beautifulsoup
PTT Beauty Spider
PTT θ‘¨η‰Ήη‰ˆηˆ¬θŸ²εœ–η‰‡δΈ‹θΌ‰ε™¨
Stars: ✭ 47 (+62.07%)
Mutual labels:  beautifulsoup
beautifulscraper
Python web-scraping library that wraps urllib2 and BeautifulSoup
Stars: ✭ 40 (+37.93%)
Mutual labels:  beautifulsoup
PacPaw
Pawn package manager for SA-MP
Stars: ✭ 14 (-51.72%)
Mutual labels:  beautifulsoup
linkedinBot
Automate the process of sending referral request and cold mailing on LinkedIn
Stars: ✭ 25 (-13.79%)
Mutual labels:  beautifulsoup

Atlas Obscura Unofficial API

version 0.1.0 python-flask

A simple Flask-RESTful api for Atlas Obscura.
Hosted on Heroku here.

From the wikipedia page:

Atlas Obscura is an online magazine and digital media company led by American journalist David Plotz.

It catalogs unusual and obscure travel destinations, and relies heavily on user-generated content. It features a mixture of feature and news articles on topics including history, science and some news, in addition to travel and exploration, as well as hosting a collaborative "guide" to the world's most obscure places.

API Documentation

v0.3.0 | NEW!

What's new in this version?

  • Added endpoints for Gastro Obscura, a spinoff of Atlas Obscura for cuisine and restaurants.
  • Added query parameter to filter by U.S. state.

Base URL

https://atlas-obscura-api.herokuapp.com

Destinations

Use this endpoint to get a list of all destinations (countries) on Atlas Obscura.

/api/atlas/destinations

Parameters

Name Type Description
region optional String Specifies the geograpical region.
Default Value: all
Allowed values: Africa, Antarctica, Asia, Caribbean, Central-America, Middle-East, North-America, Oceania, South-America

Sample Response

GET https://atlas-obscura-api.herokuapp.com/api/atlas/destinations?region=Central-America

{
  status: "success",
  results: 6,
  region: "Central America",
  destinations: ["Belize", "Costa Rica", "Guatemala", "Honduras", "Nicaragua", "Panama"]
}

Attractions

Use this endpoint to get a list of attractions in a particular country or city.

/api/atlas/attractions/<country>

Parameters

Name Type Description
country required String Specifies country.
Allowed Values: Abkhazia Afghanistan Albania Andorra Angola Antarctica Argentina Armenia Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia-and-Herzegovina Botswana Brazil Brunei Bulgaria Cambodia Cameroon Canada Cape-Verde Cayman-Islands Chile China Colombia Costa-Rica Croatia Cuba Curacao Cyprus Czechia Democratic-Republic-of-the-Congo Denmark Dominica Dominican-Republic Ecuador Egypt Estonia Ethiopia Falkland-Islands Faroe-Islands Fiji Finland France French-Guiana French-Polynesia French-Southern-and-Antarctic-Lands Gabon Georgia Germany Ghana Greece Greenland Grenada Guadeloupe Guam Guatemala Haiti Honduras Hong-Kong Hungary Iceland India Indonesia Iran Iraq Ireland Israel Italy Ivory-Coast Jamaica Japan Jersey Jordan Kazakhstan Kenya Kyrgyzstan Laos Latvia Lebanon Liberia Libya Lithuania Luxembourg Macedonia Madagascar Malawi Malaysia Maldives Mali Malta Marshall-Islands Mauritania Mauritius Mexico Micronesia Moldova Monaco Mongolia Montenegro Montserrat Morocco Mozambique Namibia Nepal Netherlands New-Zealand Nicaragua Niger Nigeria North-Korea Northern-Mariana-Islands Norway Oman Pakistan Panama Peru Philippines Pitcairn-Islands Poland Portugal Puerto-Rico Qatar Republic-of-the-Congo Romania Russia Rwanda Saint-Vincent-and-the-Grenadines Samoa Sao-Tome-and-Principe Saudi-Arabia Senegal Serbia Seychelles Singapore Slovakia Slovenia South-Africa South-Korea Spain Sri-Lanka Sudan Sweden Switzerland Syria Taiwan Tajikistan Tanzania Thailand Timor-Leste Togo Tonga Trinidad-and-Tobago Tunisia Turkey Turkmenistan Turks-and-Caicos-Islands US-Virgin-Islands Uganda Ukraine United-Arab-Emirates United-Kingdom United-States Uruguay Uzbekistan Vanuatu Venezuela Vietnam Yemen Zambia Zimbabwe
city optional String Specifies city within country. If country is United-States, you must specify the state before you specify the city.
Default Value: None
state optional String Specifies state within the United States (and D.C.)
Allowed Values: Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New-Hampshire New-Jersey New-Mexico New-York North-Carolina North-Dakota Ohio Oklahoma Oregon Pennsylvania Rhode-Island South-Carolina South-Dakota Tennessee Texas Utah Vermont Virginia Washington West-Virginia Wisconsin Wyoming Washington-DC
Default Value: None
sort optional String Sort by highest ranked or most recent.
Default Value: ranked
Allowed Values: ranked recent
limit optional Number Specifies number of results to be returned.
Default Value: auto
Value Range 1 - 16
offset optional Number Results are paginated as on the website; each page returns a maximum of 16 results. Specifies offset from first page.
Default Value: 0

Sample Response

GET https://atlas-obscura-api.herokuapp.com/api/atlas/attractions/japan?city=tokyo&sort=recent&limit=3

{
  status: "success",
  results: 3,
  attractions: [
    {
      name: "Intermediatheque",
      location: "Tokyo, Japan",
      description: "An unexpected curiosity cabinet hidden within a department store in the Japan Post tower.",
      coordinates: [35.6798, 139.7645],
      img: "https://assets.atlasobscura.com/media/...",
      path: "/places/intermediatheque"
    },
    {
      name: "Owl Police Box",
      location: "Tokyo, Japan",
      description: "This adorable birdlike police box is designed based on a play on words.",
      coordinates: [35.7297, 139.7129],
      img: "https://assets.atlasobscura.com/media/...",
      path: "/places/owl-police-box-ikebukuro-station"
    },
    {
      name: "Myth of Tomorrow",
      location: "Tokyo, Japan",
      description: "After being lost for decades, this striking mural depicting the atomic bomb covers the wall...",
      coordinates: [35.658, 139.7016],
      img: "https://assets.atlasobscura.com/media/...",
      path: "/places/myth-of-tomorrow"
    }
  ]
}

Unique Food & Drink

Use these endpoints to get a list of cuisines of a particular country or city.

/api/gastro/food-and-drink

Parameters

Name Type Description
region optional String Specifies the geograpical region.
Default Value: all
Allowed values: Africa, Antarctica, Asia, Caribbean, Central-America, Middle-East, North-America, Oceania, South-America
limit optional Number Specifies number of results to be returned.
Default Value: auto
Value Range 1 - 16
offset optional Number Results are paginated as on the website; each page returns a maximum of 16 results. Specifies offset from first page.
Default Value: 0
/api/gastro/food-and-drink/<country>

Parameters

Name Type Description
country required String Specifies country.
Default Value: None
limit optional Number Specifies number of results to be returned.
Default Value: auto
Value Range 1 - 16
offset optional Number Results are paginated as on the website; each page returns a maximum of 16 results. Specifies offset from first page.
Default Value: 0

Sample Response

GET https://atlas-obscura-api.herokuapp.com/api/gastro/food-and-drink/south-korea?limit=2

{
  status: "success",
  results: 2,
  unique-food-and-drink: [
    {
      category: "Sweets",
      name: "Dragon's Beard Candy",
      region: "South-Korea",
      description: "The ancient confection consists of wispy sugar-strands that look like dragon whiskers.",
      img: "https://assets.atlasobscura.com/media/...",
      path: "/foods/dragons-beard-candy-china"
    },
    {
      category: "Drinks",
      name: "Makgeolli",
      region: "South-Korea",
      description: "South Korea's oldest alcoholic beverage is making a comeback.",
      img: "https://assets.atlasobscura.com/media/...",
      path: "/foods/makgeolli-south-korea"
    }
  ]
}

Gastro Places

Use this endpoint to return Gastro Obscura places and restaurants.

/api/gastro/places

Parameters

Name Type Description
limit optional Number Specifies number of results to be returned.
Default Value: auto
Value Range 1 - 18
offset optional Number Results are paginated as on the website; each page returns a maximum of 18 results. Specifies offset from first page.
Default Value: 0

Sample Response

GET https://atlas-obscura-api.herokuapp.com/api/gastro/places?limit=2

{
  status: "success",
  results: 2,
  Gastro-Places: [
    {
      location: "Savannah, Georgia",
      name: "The Pirates' House",
      description: "This kitschy tavern is also home to rare early editions of \"Treasure Island.\"",
      coordinates: [32.0781, -81.0839],
      img: "https://assets.atlasobscura.com/media/...",
      path: "/places/the-pirates-house"},
    {
      location: "Lisbon, Portugal",
      name: "Conserveira de Lisboa",
      description: "The best place in the world to buy canned fish. ",
      coordinates: [38.7093, -9.1347],
      img: "https://assets.atlasobscura.com/media/...",
      path: "/places/conserveira-de-lisboa"
    }
  ]
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].