Google Places API Attributes - google-places-api

I'm trying to determine if the Google Places API is suitable for a restaurant review website I'm working on (disclaimer: I'm not a developer so please excuse my lack of knowledge here).
Specifically, looking at https://developers.google.com/places/documentation/details for support, I'm trying to determine if the Places API includes the following restaurant-specific attributes in its database that we could query: cuisine type (i.e. Indian, Brunch, American) and/or neighborhood (i.e. Marina, Mission, Financial District). As an example in Layman's terms, if we were to use the Google Places API, would users on our site be able to search for Indian restaurants in the Financial District and see restaurants that meet that criteria?
Thanks,
Jaydon

You'd have to make a search using the 'type' restaurant and enter in the search the term indian, as for the location you could use a radius
In layman's terms yes you can, but the neighborhood would be determinated from one central location in a radius format (wouldn't fallow the specific outline of the actual neighborhood) and the type of food would have to be included in the search terms, you could automatically add that, in other words, you can ask the end user to specify the cuisine he is looking for (multi choice) that way you add that cuisine automatically within the search terms.

Related

Transactions in plaid - categories

I'm looking to build a budgeting app where users can categories transactions (i.e. entertainment, rent, utilities, etc).
Is it possible to categorize plaid transactions by needs/wants? aka rent is under the need category, restaurants are under a want category.
I've looked here but am struggling to find any info: https://plaid.com/docs/api/products/#auth
You can use the /categories/get endpoint to see all the categories used by Plaid. From there, it should be pretty straightforward to essentially create a mapping where for each category you classify it as a need or a want. (This is a determination you'd have to make yourself; need/want info is not built into the API.)

How to replicate Who bot people search criteria?

Need help in implementing people/user search in the entire organization with a fuzzy search
Microsoft Graph API
People Search
https://graph.microsoft.com/v1.0/me/people/?$search="Mary"
Perform a fuzzy search but this is done only on people collection of the signed-in user
Which doesn't give a result based on the entire organization
Users Search
Doesn't support following ODATA Parameters
1.$Search https://graph.microsoft.com/v1.0/users?$search="Mary" is not supported
2.$filter doesn't support $filter=substring(displayName, 1) eq 'abc, xyz'
3.contains is also not supported $filter=contains(CompanyName,'Alfreds')
Seems your are trying to search user among your organization. But the way you tried is not supported.
If you want to search organization user you could try in following way
https://graph.microsoft.com/v1.0/users?$filter=startswith(displayName,'Kiron')
It will show all the name start with given value. See the screen shot
Please refer to this official docs

Google places API doesn't return postal codes for large cities or centres. How do I get around that?

I'm utilising google autocomplete to allow visitors to enter towns, suburbs or postcodes, so that they can select the right one from the autocomplete list. I then need to store the postcode for that location so that I can compare that postcode to entries in a database to find service providers in that postcode.
The problem I'm now having is that the Google API doesn't return postcodes for all locations. This especially seems to be the case for larger cities. For example, it doesn't return postcodes for Melbourne Australia, Sydney Australia or Perth Australia.
Has anyone developed a solution or workaround to this issue? Any suggestions?
I've been googling for ages now and can't find a solution. Google itself doesn't seem to mention this situation in their Google Places docs.
Since many cities span multiple postal codes, you probably need your users to provide the exact street address where they need service. Fearing the tedium of entering a full street address? Fear not; Place Autocomplete can save them many keystrokes especially if you constrain results to a specific country or location bounds.
You might want to create an address form and use Places Autocomplete to auto-fill the components including postal code once the user selects the address from autocomplete predictions. This section of the documentation demonstrates how it works and this page provides sample Javascript code for implementing an auto-completing address form.

Quick Search of marketing list member in CRM 4.0

I need help in the quick search of marketing list member of CRM 4.0. When I do a quick search on the marketing list member, it only manage to search one column. Where else in account or contact view can I set it to search multiple columns?
If I understand correctly, you're trying to modify the quick find of the marketing list screen to let you search marketing list members?
Unfortunately, I don't think this is possible, since if you refer to the Marketing List entity, it has a separate N:N relationship to Accounts, Contacts, and Leads. Quick find only lets you search N:1 relationships on that entity.
You'll have to use Advanced Find to easily search this. If you create an advanced find view of marketing list, you can pull down the criteria and select the related Account/Contact/Lead and search by things like 'Name'. Then you can save the view and share it with users.

Best way to implement users location that allows me to see what users live roughly in the same area

A key part of my current project is users having the ability to see what other users live near to them. What is the best way to implement this?
I would just ask for country, state and city but because this will be international I can't have a fixed drop down list of states/administrative regions for each country, so if users spell the name of their state differently this will hinder my ability to detect that users live in the same state.
Say for example we have an the Swiss canton "St. Gallen". Some user will spell that as "Saint Gallen", others as "St Gallen" and so on. Which is obviously problematic.
Could I just ask for the zip code and use that? I've found some zipcode tools online but I'm suspecting they don't work very well. Has anyone used them?
Thanks for your asnwers.
Shouldn't you base your query on geographical data rather than administration one? I mean instead of comparing cities/zip codes just find people within, let's say, 5 km from current user location. And if you let every user to choose his/her location on the map, this will be as simple as choosing it from a series of drop-down lists or entering a ZIP code. Also there is an emerging geolocation HTML feature.
Querying such an information is different story thou. You'll probably gonna have to use GIS capabilities of your database: MySQL, PostgreSQL, Oracle and others.

Resources