AdSense Management API for Reporting through R - r

I have been searching the internet for ways to access the AdSense API via R and have not been able to find documentation. It uses REST with OAuth 2.0.
I am looking to use the API for reporting.

There's a client library to access the Prediction API with R. Prediction and the AdSense Management API are both REST and use Oauth2 so it should be easy to modify the code at:
https://code.google.com/p/google-prediction-api-r-client/

Related

Microsoft workdflow custom connector

I am trying to develop a simple customer connector for my website on microsoft flow and so far I can't see how to use a web API that is hosted on my website every article tutorial I am coming by require APIs to be hosted on Azure, also an Azure account is a prerequisite .. is it true Only azure APIs to be used for custom connectors ?
Azure is not a prerequisite for Custom Connector. I agree that most of the tutorials talk about connecting Azure hosted apps.
Microsoft flow currently supports creating custom connector with Swagger API output or postman exported data. I created a Postman collection with the API and gave the exported data as input to Microsoft flow for creating the connector.
Detailed Tutorial is available here
https://flow.microsoft.com/en-us/documentation/postman-collection/
I have the same issue, I have configured a custom connector for testing to go against this test / mock API
POST -> https://jsonplaceholder.typicode.com/posts
In the connector test it keep on hitting this URL:
https://msmanaged-na.azure-apim.net/apim/zoom.2dtest.2d002.5f43ed1d930148619c.5f4fd64f4beaca2b60/51136e9557bf4e128e0d7552ff624ebd/posts
I have never configure it to go there. No document explains how or why this would happen.

Google calendar api integration with classic asp

I have a working google calendar integration with Console and web as explained in https://developers.google.com/google-apps/calendar/quickstart/dotnet .
I am unable to get any direct way to integrate the same with classic asp.
Is there any way, I can integrate google calendar with Oauth2 in classic asp ?
Thanks in advance.
You could look at the excellent CHilkat components. He provides examples about ways to consume many API's, including Google Calendar.
You can get examples on this website : http://rest-examples.chilkat.io/google_calendar/asp/default.cshtml
The main website with extended docs is located at https://www.chilkatsoft.com/

ASP.Net Identity - External logins without any UI from Web API

Note: Just learning Identity so please bear with me. We are developing a Web API for use by apps that we build and apps built by our clients. I have the local engine working the way I want so that any "client" app could use our API to login in.
What I cannot seem to get to work is external login providers without being presented with a login page. Is it possible to converse with them in API only mode or is this type of setup out of the question? What I don't want our client's apps to have to do is know how to manage the logins to use our API.
I know this may be similar to a few other questions out there but I do not see one with our particular need.
Thanks,
Paul Speranza
If your api needs to have authentication in place then you would need some kind of registering done by the consumers of your api. But you could provide seamless ways to integrate login by not providing any additional form requirements from the client application. Popular login methods today are using social networks. Web api does support out of the box support for integrating with the social networks.
You can find a sample for using facebook authentication here

Implementing .NET OAuth 2.0 Provider. 2 Legged DotNotOpenAuth samples?

I need a bit of help implementing an OAuth 2 provider for a rest service built on the new ASP.NET Web API. I'm aware there are some similar questions on Stack Overflow but they're more or less links to OAuth libraries. What I'd really like is some sample code or a sample project to get my started. Can anyone point me in the right direction?
I'm looking at DotNotOpenAuth and I believe the 4.0 beta supports OAuth 2 providers. Unfortunately I can't seem to find any code demonstrating how to implement it.
What I need some assistance with is actually getting a 2.0 provider up and running. Once I have that it should be easy enough to integrate it via a HTTP Module or a filter.
I'm interested in 2 legged authentication for API to API communication.
Until DotNetOpenAuth ships a distribution that includes OAuth 2 and the samples together, the best you can do is install the DNOA 4.0 resource server and authorization server roles via NuGet, and then check out the resource server and authorization server samples on GitHub.
But there are currently no samples for the "client secret" grant type, which is the one that best fits your "2 legged" concept for API-to-API communication. In fact the library itself doesn't (yet) support it, but the next NuGet release will and should be available in the next week or so.

Google+ integration with ASP.NET

Is there a way to post data from a ASP.NET application to Google+ account of a user. Does Google+ provide any API for the .NET platform?
Since the Google+ API is now available, you can use the Google APIs Client Library for .NET to access the API.
As of 9-7-2011, the API has not yet been released:
http://googleplusplatform.blogspot.com/
There is, however, a platform preview for which you can sign up:
http://www.google.com/+/learnmore/platform-preview/
Here is some discussion of the issue as well as some unofficial (that is to say, they will break eventually) APIs:
http://blog.programmableweb.com/2011/07/18/the-unofficial-google-plus-api-wait-which-one/

Resources