How to access Origin-Destination data using the Lyft API? - lyft-api

Does Lyft API access include a way to access historical data, such as for specific time periods? Specifically, I am seeking Origin-Destination data, to identify which locations have the greatest demand for these services.

Yes, you can obtain the origin and destination latitude and longitude via Lyft GET /rides endpoint
Online reference:
https://developer.lyft.com/v1/reference#users-ride-history
However, you will need to use a 3rd party service like Foursquare, Yelp, Google, or Factual to figure out whether the destination venue is residential or commercial. See below for examples how to query place via via latitude and longitude:
Google Places
https://developers.google.com/places/web-service/search
Foursquare Places
https://developer.foursquare.com/docs/api/venues/search

Related

Street and Road names in Google Map

I would like to retrieve all the road and street names, if i enters a area in search box. Is that possible in Google API ?
I have checked List of all street and road names in Google in API for solution, but there it is been given for auto complete box and the request is not for my requirement.
Also I learnt that Open Street Maps provide us these data, unfortunately I would like to perform some operations based upon the Google API's. So can you suggest me a way, otherthan OSM.
Google Maps API does not provide such functionality. However, there is a Google Maps Roads API which is one of their premium paid APIs which lets you query nearest road names and other road metadata. You can check that out here:
https://developers.google.com/maps/documentation/roads/intro
You can also try Overpass-Turbo (https://overpass-turbo.eu/) which lets you query OSM data. You can set the bounds and the OSM tags you are interested in.

Is GTFS-realtime data in Google Maps Directions API

I would like to know:
Is GTFS-realtime data available from the Google Maps Directions API?
If not, are there plans to include GTFS-realtime data in the Google Maps Directions API?
I am a member of a team developing a web application that integrates Google Maps Directions API. The website provides a "Trip Planner" form in which the user enters From, To, Date, and time data to display trip options into the website. Our website visitors are specifically interested in Bus transit options.
The integration is working wonderfully. However, the data returned by the Google API does not contain GTFS-realtime data. We know that the realtime is known to Google through GTFS feeds provided by the transit provider, and we see the realtime data when doing an identical search via https://www.google.com/maps.
I looked at the "Transit Specific Information" that is returned in the Google Maps API DirectionsResult Object (https://developers.google.com/maps/documentation/javascript/directions#TransitInformation). There is no reference to real-time information in this documentation. Even if real-time information is supplied (and I suspect that it is not), there would be no way to distinguish between scheduled and predicted times.

Possible to use alternate weather api with Google Maps v3?

The Weather.com data in the weather layer is aggregated temps from the region and NOT direct weather station data. The meteorologist where I work is complaining about how inaccurate the data is on our web site.
We're already using a paid Weather Underground account for the rest of our weather data, so I'd like to replace the weather.com layer with a layer using data from weather underground.
I'm not sure where to start. Is the base code for the current weather layer available? Or does anyone have examples of using alternative weather data sources?
The WunderMap layer with the temperatures will be coming to the API and then you'll be able to access it with the other API data like Radar and Satellite. If you have an immediate need, get in touch with us at Support and we can connect you with Business Development. http://help.wunderground.com/

Where do foursquare or gowalla get their location data?

I know foursquare uses google maps api, but how do they retrieve all the business locations from google maps? Do they save every location on their database or just access it when a user checks in? sorry if i have confused you, but im so curious!! :))
I did some research on this, what they do is they use the google maps api, to retrieve information for business locations, and geolocation, address, business etc, if someone deos check-in to a location, it gets saved into thier database. This prevents them from saving a lot of irrelevant locations.
Another thing is, users or businesses can create new locations if they wanted to, because not all location will be on the google maps!!
Hope that helps!

How to find a closest street

I'm reading through Google Maps API documentation and I wonder if such a think is possible:
I specify the point (by coords)
I search for all roads, and junctions around the node (say in 1km radius)
I get parameters for the streets around (polyline coords)
Is it reachable, or google do not share that data?
Thanks in advance
Rafal
I can image writing up a little script that generates a bunch of random points within a 1km radius and then performs directions services via Google Maps API to obtain all possible routes and thus streets within a 1km radius. However, this is problematic since it is kinda against the Google Maps TOS of displaying this information only on a map within a website and not extracting data for you personal use as this would be.
A better approach would be looking into utilizing Open Street Map data where you can download street data from a specific viewport. If buying street network data is an option, you can go to a commercial outlet such as NAVTEQ or PTV which post-processes NAVTEQ data to a format for use in the transport modeling software package you mention on your blog.