{"action":"created","issue":{"url":"https://api.github.com/repos/NABSA/gbfs/issues/25","repository_url":"https://api.github.com/repos/NABSA/gbfs","labels_url":"https://api.github.com/repos/NABSA/gbfs/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/NABSA/gbfs/issues/25/comments","events_url":"https://api.github.com/repos/NABSA/gbfs/issues/25/events","html_url":"https://github.com/NABSA/gbfs/pull/25","id":151492550,"number":25,"title":"WIP - Add purchase_url to free bikes and stations","user":{"login":"barbeau","id":928045,"avatar_url":"https://avatars.githubusercontent.com/u/928045?v=3","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-04-27T21:13:04Z","updated_at":"2016-06-10T04:16:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NABSA/gbfs/pulls/25","html_url":"https://github.com/NABSA/gbfs/pull/25","diff_url":"https://github.com/NABSA/gbfs/pull/25.diff","patch_url":"https://github.com/NABSA/gbfs/pull/25.patch"},"body":"Applications consuming GBFS would like to show markers for the available bikes and stations on the map, and when the user taps on these show a link that they can follow to rent that particular bike (for free bikes) or a bike at that particular station (for station-based systems).\r\n\r\nCurrently, to implement this feature rental URLs need to be hard-coded in the application for each bike/share vendor/deployment.\r\n\r\nThis patch proposes the capability to discover these rental_urls directly from the GBFS feed for each free bike and station.  It's intended to be a starting point for discussion, so comments/improvements are welcome.\r\n\r\nWe've implemented the rental link via the proprietary hard-coded approach mentioned above at http://maps.usf.edu/#layers (enable the \"Share-A-Bull\" Bikes layer) for the SoBi deployment at USF:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/928045/14868221/8750feb8-0c9a-11e6-8801-8baaebc2022d.png)\r\n\r\nIf SoBi is willing to prototype this field in their GBFS feed for the USF deployment we'd be willing to try it out in the above application (based on OpenTripPlanner).  \r\n\r\ncc @fruminator @jmfield2"},"comment":{"url":"https://api.github.com/repos/NABSA/gbfs/issues/comments/225089433","html_url":"https://github.com/NABSA/gbfs/pull/25#issuecomment-225089433","issue_url":"https://api.github.com/repos/NABSA/gbfs/issues/25","id":225089433,"user":{"login":"barbeau","id":928045,"avatar_url":"https://avatars.githubusercontent.com/u/928045?v=3","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T04:16:46Z","updated_at":"2016-06-10T04:16:46Z","body":"@cubbi given your current spec as I understand it, you could populate the `purchase_url` with the http scheme you currently support - for example http://app.socialbicycles.com/map?bike_id=3516.  This is the format we're currently hard-coding on  https://maps.usf.edu."}}
{"actor":{"display_login":"barbeau"}}