Comments (3)
WEATHER:
OpenWeatherMap
with http://api.openweathermap.org/data/2.5/weather?q=bristol?id=524901&APPID=1d6499e747ab4f3e99fc1ff1eab8023e
result:
{
"coord": {
"lon": -2.6,
"lat": 51.46
},
"weather": [
{
"id": 500,
"main": "Rain",
"description": "light rain",
"icon": "10d"
},
{
"id": 311,
"main": "Drizzle",
"description": "drizzle rain",
"icon": "09d"
},
{
"id": 701,
"main": "Mist",
"description": "mist",
"icon": "50d"
}
],
"base": "stations",
"main": {
"temp": 280.17,
"pressure": 999,
"humidity": 100,
"temp_min": 279.15,
"temp_max": 281.15
},
"visibility": 7000,
"wind": {
"speed": 2.1,
"deg": 40
},
"clouds": {
"all": 92
},
"dt": 1479813840,
"sys": {
"type": 1,
"id": 5076,
"message": 0.0074,
"country": "GB",
"sunrise": 1479800476,
"sunset": 1479831108
},
"id": 2654675,
"name": "Bristol",
"cod": 200
}
from take-me-away.
SKY SCANNER
"Find me the cheapest price for each available route from London to anywhere departing in January and returning in February. This gives the cheapest known price for each destination country that can be reached from London." Perfect end-point.
EXAMPLE REQUEST:
http://partners.api.skyscanner.net/apiservices/browsequotes/v1.0/{market}/{currency}/{locale}/{originPlace}/{destinationPlace}/{outboundPartialDate}/{inboundPartialDate}?apiKey={apiKey}
EXAMPLE: Country to anywhere...
http://partners.api.skyscanner.net/apiservices/browsequotes/v1.0/GB/GBP/en-GB/UK/anywhere/anytime/anytime?apiKey=prtl6749387986743898559646983194
We must
- Create a seesion
- poll the session
The Live Pricing Service Session must be created before any pricing data can be obtained. The request contains details of the locations, dates, passengers, cabin class and user details. These parameters define the session, and cannot be changed within the session (with the exception of passenger numbers).
from take-me-away.
from take-me-away.
Related Issues (20)
- Heroku HOT 1
- No installation instructions ;) HOT 1
- weather.js
- index.js file name HOT 2
- Expression at 'Weather today in' does not render the city name
- Background image does not update with location HOT 1
- 'var', 'let' and 'const' used inconsistently
- Slightly confusing order for your functions HOT 2
- Let/var/const HOT 2
- Readme missing! HOT 2
- Tape testing HOT 1
- Weather api request uses the geolocation of the server
- Add Tape tests to check for rendered HTML, and for response from the API
- Error handling HOT 1
- Responsiveness
- Weather icons from 1980s ;) HOT 2
- getArticles and getWeather are inconsistent HOT 2
- What I love about your project! HOT 1
- Connect codecov
- Opening up links in a new tab in html
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from take-me-away.