Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`

Required

Object must have `lat` and `lng` keys

#### lat

Type: `string`

Required

Latitude

#### lng

Type: `string`

Required

Longitude

#### city

Type: `string`

Required

City

#### region

Type: `string`

Required

Region

#### country

Type: `string`

Required

Country

## Related

- [starbucks-cli](https://github.com/bukinoshita/starbucks-cli) — Starbucks on Command Line

## License

MIT © [Bu Kinoshita](https://bukinoshita.io)