Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tokland-bicingbcn

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tokland-bicingbcn

  • 0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= BicingBCN - A module to interface Barcelona Bicing services

Project Contact: Arnau Sanchez mailto:tokland@gmail.com

BicingBCN is a simple module to interface Barcelona Bicing services:

http://www.bicing.com

For now it only has one method to retrieve bikes occupations.

== Requirements

BicingBCN needs Hpricot (HTML parser)

== Usage

code:

require 'bicingbcn' BicingBCN.occupations

output:

{ 1 => { :bikes_available => 2, :bikes_total => 21, :coordinate_latitude => 41.397978, :coordinate_longitude => 2.180019, :name => "Gran Via de les Corts Catalanes 760", }, 2 => { ... } }

== More information

This module is being used in BicingINFO:

http://bicinginfo-no.ip.org

== License

Ya2YAML is distributed with a GNU/GPL license, which can be found in the file LICENSE.

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc