VS 2012 Google Places API - Premium Data Zagat Ratings
Jun 9, 2014
I have to work with the Google Places API, specifically Zagat Ratings. It is "premium data" meaning I can't just be a billing user (which is what I am now), I have to be an enterprise user (which it looks like you have to buy a license or otherwise pay to become). How exactly how one becomes an enterprise user? If you happen to have used Zagat ratings, any example of data that comes back from a query so I can take a look and be sure it suits our needs?
If you want the details, this is what I've done (since beginning research on this on Friday).
1. I obtained an API key and in order to do so I created a project (by logging into my google account). My project name is the default "My Project". Then I created a new browser key. With this key, I was able to post requests as below:
[URL] ....
The reply has no Zagat ratings, though. I determined this is because I'm not an Enterprise user: To obtain Zagat data you have to become an enterprise user; just being a "billing user" is not enough.
2. So I wanted to see definitively what kind of a user am I. One hit I got said "Visit the APIs Console and log in with your Google Account", then "Select the project that was created for you when you signed up. The project name will start with Google Maps APIs for Business". I didn't quite understand this second part, and how it presumes to know what my project name is, especially since mine is just the simple default "My Project". Finally it says: "The Places API - Zagat Content service should be enabled (mine is not. Actually, I have no such thing). The Places API service should be disabled (mine is enabled).
View 9 Replies
Similar Messages:
Aug 11, 2014
I'm using the Google Places API to discover information on a restaurant. [URL] ....
I need my name parameter to contain an & because I am looking for D'Agostino's Pizza & Pub. But I am not sure what my URL needs to look like, because my requests are returning no matches. I am trying:
maps.googleapis.com/maps/api/place/nearbysearch/json?location=41.8957646,-87.6553512&radius=5000&types=restaurant|food&name=D'Agostino's Pizza %26 Pub&key=<mykey>. But is that even right?
I believe the search should return results, because in google if you type "D'Agostino's restaurant north ogden avenue Chicago IL", it's a perfect match there.
View 5 Replies
Aug 18, 2015
I want to know about google place autocomplete .....
View 1 Replies
May 7, 2015
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
<script type="text/javascript">
[code]...
In above code i want autocomplete textbox first search from database then search from google api in asp.net.
View 1 Replies
Aug 29, 2010
To learn ASP.NET MVC, I am thinking of creating a community forum like SO where people can rate posts, users etc. and the user can thereby gain points. I just can't figure out if the points should be added to the user profile whenever an action is done (post rated up/down, user created new post etc.) or if it should be calculated from the different activities the user has done.
I have a few pro's and con's for both ways of doing it:
[code]....
View 3 Replies
May 7, 2015
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div style="width: 100%; padding-top: 1em">
<img src="Abme/img/rating.png" alt="view" height="25px" width="25px" style="float: left" />
[Code] ....
My ajax rating panel
protected void OnRatingChanged(object sender, RatingEventArgs e) {
SqlConnection con = new SqlConnection(connStr);
SqlCommand cmd = new SqlCommand("Insert into rating(rating,postid) values(@rate,@pi)", con);
cmd.Parameters.AddWithValue("@rate", e.Value);
cmd.Parameters.AddWithValue("@pi", Request.QueryString["ID"]);
[Code] ....
The rating value get inserted to database async but updated rating is not displayed after update. I have to refresh page in order to display updated ratings.
View 1 Replies
May 7, 2015
I am using [URL] ....
And my question is the user should not vote again if he/she already voted....
View 1 Replies
Oct 27, 2010
i have some labels on a page. some id like to show 1 decimal place, and others to show the nearest whole number.how do i control the decimal places my labels show?
View 4 Replies
Mar 23, 2011
i am using a usercontrol with repeater for custom paging in grdiview. Everything works fine. I am able to display link buttons and able to pull exact records. Now i have a little user friendly requirement. The pager usercontrol should appear at top of grid and bottom of grid. For that i have placed two instances of usercontrol. I am supposed to place same instance of usercontrol in two places so that whatever button click in any instance should happen in all available instances. The issue is i clicked page 2 (link button) in top pager user control. Its changed to selected mode(non clickable) where as bottom remains same, page 2 is clickable. How can i proceed?
View 1 Replies
Sep 14, 2010
I'm trying to create an ASP.NET Web Application, but this is all I see: I have confirmed that I have the full Visual Studio installed, not just Visual C#.Why can't I see ASP.NET Web Application in the "new project" list?
View 1 Replies
Nov 27, 2010
I have with working with Visual Studio for a while, and using it's web server. I decided I needed IIS 7 for testing certain features. I installed, but I get an error
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME mapI've googled and been able to figure out that aspx pages are not enabled by default, but I can't find the proper method to fix this.
View 2 Replies
Mar 26, 2011
I get headeache from trying to install mysaql using WebMatrix in windows 7 home premium, it's installed fine, when i install Joomla , and starts new web stite , it dosnot connect to my sql, and i'm sure 200% from the username "root" and the password,,, is there problem in my windows,?
View 1 Replies
May 7, 2015
When I am Exporting CSV Using Reader,Here Attached Coding for your reference,
PrecisionColumns = New String() {"Salequantity", "Salevalue", "Purchasequantity", "Purchasevalue", "Stockvalue"}
If Trim(Rdr.GetValue(I).ToString() <> "") Then
csv += Format(CDbl(Rdr.GetValue(I).ToString()), "0.00").Replace(",", ";") + ","c
End If
csv += vbCr & vbLf
Response.Write(csv)
... ...
I get precision in CSV file ,but when i open the csv file in excel Precision not showing, how to show precision on excel sheet...
View 1 Replies
Aug 26, 2010
Recently I had a weird problem while trying to install SQL Server Reporting Service in my local PC. I am using Windows Vista Home Premium and I wanted to configure SSRS in my PC. During the installation, the setup wizard listed all the services that we want to install and I found that only Reporting Server checkbox option was disabled and I wondered why??? I thought it may be becuase of some installation problem and tried again and its useless... I googled lot of sites for 3 days and finally found that due to some IIS issues, it is not possible to install Reporting Server in Vista Home Premium version. Reporting Server needs some specific IIS features to be installed in the machine.
But unfortunately those features are not available for Home Premium users which in term restricts users not to install reporting server in our PCs... Also, Microsoft has accepted it as an issue and its not possible to get it install in Home Premium...just wanted to share and might be useful for someone like me.
Reference: http://support.microsoft.com/kb/920201/en-us
View 1 Replies
Mar 29, 2010
I had Visual studio 2008 Team system installed on my machine and tried to uninstall that . When I did the uninstall, am getting a wierd error message "A problem has been encountered while loading the set up components .Cancelling set up". I googled this and found some posts asking me to uninstall all the hot fixes associated with VS 2008 TS .I did that but still am getting the same message.
View 2 Replies
Jul 27, 2010
I have a master gridview that I am populating data to. I am am also counting records of open and closed and I want to display the percentage closed. I am using the following code. It always rounds up. In other words, if the actual calculation shows it to be 0.16 it will always display in the label as 0.2 I cannot figure out what I am doing wrong. If I just take two numbers and divide them in the code it displays 0.16676767. Here is the code I am using. The first line is on up in the code but I plugged it here to show you that I am using a session variable to add to as I rip through the code. I have all three of the variables I am placing the session variables in defined as Dim xxxxx as single.
[Code]....
View 5 Replies
Jul 16, 2015
how I can get item values in a ListView in code-behind? I’ve searched high and low during the past 2 days and tried various possibilities to no avail. Data binding is being done in code-behind:
Code:
SQLString = "SELECT Field1, Field2, Field3 FROM Table1"
DataTable1 = LoadDataTable(Connection1, "SELECT Field1, Field2, Field3 FROM Table1")
ListView1.DataSource = DataTable1
ListView1.DataBind()
ASP:
[code]....
The aim is that once a user clicks on a particular row in the ListView a pop-up is displayed which in turn reflects all data related to the record. For the purpose of preparing the data for the pop-up I need to determine the unique record identifier.
I have the same code working perfectly in another app, which has to effect that once a user clicks on a particular row in the ListView a new tab is opened which in turn reflects all data related to the record.
View 1 Replies
Aug 16, 2012
When i right click on a table in database explorer i do not get the option to "show table data" the way i have in every other previous version.
View 2 Replies
May 7, 2015
I want to download a file from google drive (like .docx, .xlsx etc.) to a specific location, I am able to do so which are publicly share using WebClient object.
But now I want to download file which private in share but unable to do it.
How to improve my code which should download private file also.
//Parameters
//1) Link - google drive link from where to download
//2) filename- name of filename-
//3) oringinalDocDirectory- path where file has to save
public ActionResult SaveToServer(string Link,string filname,string oringinalDocDirectory) {
if (!Directory.Exists(oringinalDocDirectory))
Directory.CreateDirectory(oringinalDocDirectory);
var docFinalSavePath = Path.Combine(oringinalDocDirectory, filname);
WebClient client = new WebClient();
client.DownloadFile(new Uri(Link.Replace("&export=download","")), docFinalSavePath);
return Json(new { status = docFinalSavePath }, "text/html", JsonRequestBehavior.AllowGet);
}
View 1 Replies
Aug 22, 2012
i hav one data table in which some decimal values are up 6 decimal places.. im trying to bind that Data table to DataGridView while binding i want to round decimal values up to two decimal palces here is my code
dt.Columns.Add("Orderid", typeof(string));
dt.Columns.Add("tagnumber", typeof(string));
dt.Columns.Add("Minimum Value", typeof(string));
dt.Columns.Add("Maximum Value", typeof(string));
int count = ds.Tables[0].Rows.Count;
for (int i = 0; i < count; i++)
[code]...
hows hould i round up while binding..?
View 1 Replies
May 7, 2015
I was read your post: "Export GridView to Excel in ASP.Net with Formatting using C#" and is very useful. That code works perfect. But I need create a new format for a specific column in my sheet before to export it. For example:My DataTable have a column with decimal numbers and I'm trying reduce the tenths for each number.I want this: 2,874444 ----> 2,87 for a specific range. In this case I need it for all numbers in the column 13 or well said for the Column called N in Excel. Only reduce two tenths.
I used:
xlWorkSheet.Range["N"+h,"N"+h].NumberFormat = "0.00";
And no works (h is for rows, N is the column. Into a foreach).
View 1 Replies
Feb 25, 2010
When trying to map a path with
FileUpload1.SaveAs(Server.MapPath("~imagesuploaded"))
I get the following error
[UnauthorizedAccessException: Access to the path 'C:UsersMichaelDocumentsHomeShilohGEAGEASiteimagesuploaded' is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7716783
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1162
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +61
System.IO.FileStream..ctor(String path, FileMode mode) +55
System.Web.HttpPostedFile.SaveAs(String filename) +99
System.Web.UI.WebControls.FileUpload.SaveAs(String filename) +23......................
View 4 Replies
Aug 11, 2010
As an organisation, we use Google Apps. We have the paid version (mapped to our domain) etc...We are developing a web based application to manage orders, and other business functionality.I want to be able to use federated login with our google apps accounts-
For example, if a user is logged in to their email (gMail) - they should automatically be logged in to our ASP.net application
If they're not logged in - the log in form should auth. against our google apps account.How can this be done?Is it possible to be able to "get" the user who is currently logged in using this method etc...?
View 3 Replies
Mar 29, 2010
i am not good at javascript, but trying to implement or google up a function that would only allow characters in a textbox to have
1. only numeric characters
2. 2 decimal places.
I got this online, but it slices the 3rd decimal, i want it to allow only 2 decimals, any pointers ?
[URL]
View 10 Replies
Aug 11, 2010
We have got two distinct lists of users that we need to power logged in access to sections of our site.
These lists can't be combined, as one is synced daily to an externally hosted data source, and both tables have to be 100% the same. We have set up two Membership providers onto the site, but my question is, is it possible to allow both to be logged in at the same time?
The issue I find is that HttpContext.Current.User.identity.name contains the username of the last successful logon.
View 3 Replies