Giter Site home page Giter Site logo

jta_free_wifi_api's Introduction

jta_free_wifi

日本の無料公衆無線LANスポット情報を返すAPIです。

バージョン

Ruby 2.5.0

Ruby on Rails 5.1.4

動作方法

動作準備

$ bundle install
$ rails db:migrate
$ rails db:seed
$ rails s

Rspec

$ bundle exec rake db:migrate RAILS_ENV=test
$ bundle exec rake db:seed RAILS_ENV=test
$ bundle exec rspec

パラメータ

座標(必須)

例) lat=35.658034&lng=139.701636

件数(デフォルト5件)

例) limit=10

半径〇〇m以内(デフォルト500m)

例) distance=2000

英語オプション

例) language=en

あいまい検索(施設名と住所)

例) word=渋谷

使い方

渋谷駅(座標: 35.658034, 139.701636)半径2000m以内50件

http://0.0.0.0:3000/spots.json?lat=35.658034&lng=139.701636&distance=2000&limit=50

Heroku

CloudGarageでDokkuを活用してPostgreSQLサーバーを立ててHerokuのDBとして利用しています。

渋谷駅半径500m以内のWi-Fiスポット情報5件

英語で渋谷駅半径500m以内のWi-Fiスポット情報20件

渋谷が施設名か住所に含まれているWi-Fiスポット情報100件

渋谷駅半径5km以内で渋谷が施設名か住所に含まれているWi-Fiスポット情報100件

情報元

ライセンス

jta_free_wifi_api's People

Contributors

hotuta avatar dependabot-support avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.