Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/starbucks-store-finder
:coffee: Starbucks store finder
https://github.com/bukinoshita/starbucks-store-finder
coffee javascript nodejs starbucks stores wifi
Last synced: 2 months ago
JSON representation
:coffee: Starbucks store finder
- Host: GitHub
- URL: https://github.com/bukinoshita/starbucks-store-finder
- Owner: bukinoshita
- License: mit
- Created: 2017-04-15T18:35:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-12T15:05:38.000Z (over 3 years ago)
- Last Synced: 2024-10-10T16:07:30.476Z (3 months ago)
- Topics: coffee, javascript, nodejs, starbucks, stores, wifi
- Language: JavaScript
- Homepage:
- Size: 59.6 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# starbucks-store-finder [![Build Status](https://travis-ci.org/bukinoshita/starbucks-store-finder.svg?branch=master)](https://travis-ci.org/bukinoshita/starbucks-store-finder)
> Starbucks store finder :coffee:
> Package renamed to `starbucks-store-finder` due trademark.
## Install
```
$ yarn add starbucks-store-finder
```## Usage
```js
const starbucks = require('starbucks-store-finder')const opts = { lat: '-23.585324', lng: '-46.286264,9z' }
await starbucks(opts)
// => [list, of, starbucks, stores, ...]
```## API
### starbucks([options])
Returns a `promise`
#### options
Type: `object`
RequiredObject must have `lat` and `lng` keys
#### lat
Type: `string`
RequiredLatitude
#### lng
Type: `string`
RequiredLongitude
#### city
Type: `string`
RequiredCity
#### region
Type: `string`
RequiredRegion
#### country
Type: `string`
RequiredCountry
## Related
- [starbucks-cli](https://github.com/bukinoshita/starbucks-cli) — Starbucks on Command Line
## License
MIT © [Bu Kinoshita](https://bukinoshita.io)