Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philipheinser/tas-sdk-js
Trivago API Wrapper
https://github.com/philipheinser/tas-sdk-js
Last synced: 12 days ago
JSON representation
Trivago API Wrapper
- Host: GitHub
- URL: https://github.com/philipheinser/tas-sdk-js
- Owner: philipheinser
- Created: 2016-08-20T15:51:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-21T09:33:34.000Z (over 8 years ago)
- Last Synced: 2024-12-22T23:52:45.326Z (17 days ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tas-sdk-js
## Usage
```
import Trivago from 'tas-sdk-js';let opts = {
access_id: '1234',
secret_key: '1234',
};let trivago = Trivago(opts);
trivago.getHotelDetails('itemid').then((data)=>{
console.log(data)
});
```## Tests
```
ACCESS_ID=1234 SECRET_KEY=1234 npm test
```