I'm trying to write a C#/.NET application that can get results from Amazon's VoD service. I found this article:
Amazon API - Instant Video results
It suggests that I use the Amazon Product Advertising API to get this information. I have been looking at Amazon's getting started guide and various places around the internet and I am having no luck. A lot of the information seems to be way out of date. It looks like the latest API version is Aug 2011. Maybe of the examples are way before that.
Are there any up-to-date examples of how to use this API from C# (VB.NET will be fine as well)?
If you are looking just for items listing use the Amazon Product Advertising API BrowseNodeLookup using BrowseNodeId equal to 2676882011. Result according to this should be
<BrowseNode>
<BrowseNodeId>2858778011</BrowseNodeId>
<Name>Amazon Instant Video</Name>
<NewReleases>
<NewRelease>
<ASIN>B007R0XM88</ASIN>
<Title>We Bought A Zoo</Title>
</NewRelease><NewRelease>
<ASIN>B007PKOKTK</ASIN>
<Title>Hop</Title>
</NewRelease>
But according to multiple sources the BrowseNodeID can change without notice so the best way would be iterate thru all nodes from time to time and find the valid one.
Here you will find output from Google Cache for Amazon Instant Video
Related
I would like to develop a Facebook app. I am only familiar with C# and .NET Core. Will I experience any limitations since the business SDK is not available for .NET? I am not very familiar with Facebook development.
The Business SDK relies on the Graph API, which is also public.
Directly accessing the API is very, very common, the documentation is decent, and going that route is web-based, which works from any client you've got.
https://developers.facebook.com/docs/graph-api/
I have used the Facebook Csharp SDK recently to upload hour long videos. This is a process that runs every hour and uploads a video. During this development, I found there are bugs in the SDK and I fixed it and uploaded a pull request. But I am not sure if anyone maintains that branch. But you can get the uploaded code from my github here
https://github.com/hoquem1/facebook-csharp-sdk
If you want the parent branch, you can see where I forked it from.
You need to get your permission and Tokens properly. Directions are in facebook for developer page. For Facebook Graph Api, I used the v8.0. If you need some documentations here are some useful links below. Follow the breadcrumbs..
https://developers.facebook.com/
https://developers.facebook.com/docs/video-api/getting-started
This should get you started.
I created a proof of concept using Google Custom Search Engine. I'm using the following C# library for that: Google.Apis.Customsearch.v1
The concept was working and accepted by the customer. The customer then upgraded to the paid version of Google CSE: Google Site Search.
But when using the API key provided in the panel of the paid version, I get the following error:
{“Google.Apis.Requests.RequestError\r\nInvalid Value [400]\r\nErrors [\r\n\tMessage[Invalid Value] Location[ – ] Reason[invalid] Domain[global]\r\n]\r\n”}
The API key in that panel seems to be a public key, you can actually find it on numerous websites.
We can only get it working again, by using our own project key we created at https://console.developers.google.com. This comes with a 100 request/day limitation, unless you also go for the paid option here (making it a double expense).
Is it at all possible to make this work with this library AND the paid version of Google CSE?
Google Site Search and Google Site Search API are two different things.
To use the API you need a key created on google developers console. The quota associated with the key is the quota for the Google developer account Not the user that has authenticated the application.
Now they upgraded there Google sites search which means they should have some kind of support with that. I suggest they contact google and see if they can get a google developer project upgraded as well they will have to create there own project and will no longer be able to use yours. I have never tried to my knowledge they are separate and you have to pay for them separately but it wont hurt for them to contact Google and ask.
I'm trying to work with Google Cloud Storage, C# .Net4.5. The goal will be to manage millions of files that we will upload to Google Cloud Storage, the images will primarily be a backup copy.
I do have some code working using the .Net Client Library using the nuGet: \Google.Apis.Storage.v1.1.9.0.230\lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Storage.v1.dll
What I can't find is any documentation besides what is picked up via Visual Studios' Intellisense.
I'm just looking for the full API and some examples.
Google lists:
https://developers.google.com/api-client-library/dotnet/apis/storage/v1
Browse the .Net Reference for Cloud Storage API:
https://developers.google.com/resources/api-libraries/documentation/storage/v1/csharp/latest/
But that takes one to the JSON API overview.
Can anyone kindly point to where I should be looking.
Example:
Listing objects in a bucket. I can get it to work:
listRequest = new Google.Apis.Storage.v1.ObjectsResource.ListRequest(storageService, bucketName);
The only documentation on the ListRequest class I'm able to find is what is ObjectResource.CS
Where should I be looking? Or is there just not a lot of help/doc/examples for the .Net Client Library?
Thanks again.
-andy
Click on the Classes link at the top of the page.
Here is a sample for authenticating, listing buckets and downloading objects.
As Google Data List APIs has been deprecated by Google, so we can use "Google Drive APIs" for Google Drive but what about Google Sites? I am currently using Google.Gdata.client.dll reference to work with Google Sites.
It looks like Google is maintaining the following page to help people who use its APIs keep track of their transition away from gdata:
https://developers.google.com/gdata/docs/directory
As of 06/01/2015, there is no replacement for the Google Sites API.
You carry on using the existing GData API according to the page provided by #froggythefrog:
GData API Directory
I can see that a lot of GData API's have been deprecated and most newer versions aren't based on it any more but it says that Google Sites Data API is unaltered, specifically "GData version is still live. No replacement API."
This might mean that it's days might be numbered but at the moment it is the current API.
I can't see any mention saying that the GData API as a whole is outright deprecated.
I am writing a simple web application that needs to retrieve a list of customers from QuickBooks and display it in a DataGrid. I have the web connector installed and setup on the server hosting the QB data file using the web service example included in the SDK.
I can add the service to my project and interact with it, but when I try to find information about how to query QB using the web service all I can find are links to vague and mostly useless documentation. What I’m hoping someone here can do is provide a real example (code included) of how you submit a query to QB and display the results.
My environment:
QuickBooks 2009 Pro
IIS 7
C#.Net 3.5
Normally I have good success doing things like this, but for some reason this one has me stumped. Many have suggested that I should run far and fast from anything that involves integrating QuickBooks with anything. Come cant, it can’t be that hard.
As always, thanks in advance for any help you may offer.
Have you read the official developer's guide?
http://developer.intuit.com/uploadedFiles/QuickBooks_SDK/QBSDK/QBWC_proguide(1).pdf
What looks easiest in this scenario, if you have experience working with other odbc data sources in C#, would be to use an ODBC implementation of the QB data. I'm not sure if there are others, but there is a commercial one (with a free trial) available here: http://qodbc.com/