I'm busy integrating google webmaster tools into my mvc2 project. I downloaded the google Data API SDK here. But i can't figure out how to connect to the api and retrieve information from it. I can't find any assemblies in the SDK i can use in my testproject to connect to the webmaster tools api.
If anybody already tried or has information about this, please share the knowledge. Examples, anything is welcome.
My ultimate plan is to integrate it into a webapplication i'm working so i can communicate with Google Webmaster Tools to get information about keywords, sitemaps and so on.
Since it took a while for me to get an answer here i started a new topic here This gave me a good solution to work on.
Related
I want to receive mails from Gmail in my .NET project with Visual Studio 2022.
I've installed all required NuGet Packages, and now I'm searching for a detailed description of this API.
Which classes and methods are available?
I found something at developers.google.com.
But I miss an overview of the classes and methods.
Or what does the API do?
Right now, I'm able to forward the user of my app to allow me the access to Gmail. I receive the "code", but I have to transform it into a "token2".
Do I have to send a HTTP by myself? Why can I not find a .Net function to do that for me?
Sorry for asking, but I'm searching since two hours for the answer...
Gmail API + Google .net client library Nuget Gmail package.
I've installed all required NuGet Packages, and now I'm searching for a detailed description of this API.
A detailed description of the Gmail api and all its methods can be found on Gmail API documentation page. The documentation for the API lists all the methods that can be used and their required parameters and the responses.
As for the NuGet package for Google.Apis.Gmail.v1 there is no documentation for each of the methods related to each of the Google APIs. This library is generated from the discovery doc so there will be a method in the library for each of the methods listed in the Gmail API documentation. It is "assumed" that by consulting the Gmail API documentations you can "Determine" what method in the library you would need to use.
There is an extremally out of date documentation page for API Client Libraries
.NET
which only goes into some detail of the overall usage of the library it self. It does not tell you how to use every method in every api that it supports.
If you can not figure it out by looking at the documentation as mentioned above then, Your best bet would be to check the assembly directly in visual studio this is something that I am able to do in Rider I would be surprised if Visual studio can not do something similar.
If you have a specific question regarding one of the methods and how to use it in the library please open a new question I would be happy to help.
API vs Client library
what does the API do?
The API gives you access to Gmail api. The Gmail NuGet package gives you access to the Gmail api.
Right now, I'm able to forward the user of my app to allow me the access to Gmail. I receive the "code", but I have to transform it into a "token2".
Depending upon which type of application the library should be handling all the authorization for you. You shouldn't need to worry about the authorization code. Let the library do it for you. Please consult Authorization overview
Do I have to send a HTTP by myself? Why can I not find a .Net function to do that for me?
The library will do all this for you.
var results = service.Users.Labels.List("me").Execute
Will return that response to you.
Links
I think you should start with a few simple examples in order to understand how the Google .NET client library helps you interact with the Gmail api.
Gmail quickstart
How to Access Gmail with C# .net
I just started a projects that need to be created with C# Desktop Application using Visual Studio 2008 (.NET 3.5).
Now I really don't understand where I have to start. I just start to "googling" and found that there tools C# FACEBOOK SDK. But after I read more, now it's not supported from Facebook. So, please anyone can help me.
MY GOAL : To read facebook timeline of user from a desktop application.
Can I user any other SDK that supported ?
Or maybe can I use Facebook PHP SDK ?
Your help really appreciated.
Thankyou
You can use Facebook SDK. Its possible to use, connect, post, read informations and anothers tasks.
To start, have some information at web:
Open NuGet manager at Visual Studio and ask for Facebook SDK.
Read Facebook Developers Starters Guide: https://developers.facebook.com/
When we start a FB app, a token is necessary. Read about this at: https://developers.facebook.com/docs/apps/register
I hope this helps to start .
I was wondering if someone could give me a direction to my problem here.
I am trying to get my Visual Studio 2012 C# Program to read off a Google Spreadsheet, and I am having no luck on how to read the cells of a spreadsheet. I looked around, and I found something called OAuth.
However, there's no solid broken down guide to follow thoroughly. Can someone help?
Thanks!
If your problem is to authenticate via OAuth2, then this library was useful for me:
OAuth2 Social Logins - Facebook, Google, Twitter, PayPal - ASP.NET MVC C# open source library
However, I haven't found a method to establish a callback to my local IIS Express, so I use an external hosted ASP server.
I am about to emabark on a project that will use Azure and Facebook C# SDK. I was just wondering when will the documentation be available on the C# SDK website? I have no idea where to begin and would love some documentation/tutorials.
Thanks,
Rhonda
As you need some pointer about where to begin, I sure can give your some pointers but get ready for a time of adventure because you sure going to hit some hardtime. What you really need is to develop your project in two steps:
Create an ASP.NET (MVC?) Web application using FaceBook C# SDK
Convert this ASP.NET application to Web Role to deploy to Windows Azure
To start your development for 1) I would suggest following this Documentation:
http://csharpsdk.org/docs/web/
http://csharpsdk.org/docs/web/ajax-requests
I would also suggest to look SO for more assistance during your development when you hit errors as there are lots of solution discussed.
Finally when you come to 2) you can follow how Deploy asp.net application on windows azure..?
This documentation is in progress as of Feb. 11, 2012. We are working
on big improvements for the coming weeks.
Source: http://csharpsdk.org/docs/azure/
So yea, that's your answer.
I know that there is no official API for Google Analytics but is there a way to access Google Analytics Reports with C#?
Update: Google launched a Google Analytics API today.
Google Analytics Blog - API Launched
I wrote a small project that lets you generate pretty much any Analytics report. It's listed on Google's Analytics API page - http://code.google.com/apis/analytics/docs/gdata/gdataArticlesCode.html
You can read about it here and get the source code - http://www.reimers.dk/blogs/jacob_reimers_weblog/archive/2009/05/09/added-google-analytics-reader-for-net.aspx
I emailed them asking this same question a while back and here's the response I got:
Hello,
Thank you for your email. I apologize for the delay in replying to your email. Google Analytics does not currently provide an API to access the reporting data. However, we do offer export functionality for single reports in the following formats:
PDF
Tab separated value (TSV)
XML
Excel (CSV)
This feature allows you to easily import report data into your favorite spreadsheet application or to process the data otherwise.
Additionally, we're unable to provide support for custom implementations of Google Analytics. For this level of support, you can contact one of our highly qualified Google Analytics Authorized Consultants for assistance with advanced needs. These partners deliver a number of professional services such as installation support, training, and advanced filter and e-commerce configurations.
For a complete list of our worldwide partners and a more detailed description of the services they offer, please go to http://www.google.com/analytics/support_partner_provided.html
For additional questions, please visit the Analytics Help Center at http://www.google.com/support/googleanalytics/?utm_id=tf. You can also find helpful tips and information by visiting the Google Analytics Help Forum at http://groups.google.com/group/analytics-help?utm_id=tr.
Sincerely,
[snip]
Analytics Support
For the latest updates as well as some helpful tips on Google Analytics, check out the Google Analytics blog at http://analytics.blogspot.com
I have a completed library for called GoogleAnalytics.Net that allows you to fire page views/events/transactions from within .net code.
You can download the library from it's project home page:
http://www.diaryofaninja.com/projects/details/ga-dot-net
This guy has had some success with at least some light Analytics integration. Now I realize this isn't exactly what you're looking for, but he does mention a book and perhaps you can get in touch with him.
Have a look at the SilverLight Google Analytics Snippet - http://code.google.com/apis/analytics/docs/tracking/silverlightTrackingIntro.html
http://msaf.codeplex.com/wikipage?title=Google%20Analytics
Because Silverlight is C#.
Google analytics API changed recently(2012) and because of that most of the codings are changed. so below link will be helpful for c# developers
Google Analytics API in C# -Execution of request failed: https://www.google.com/analytics/feeds/accounts/default
Google has created there own client lib Google APIs Client Library for .NET which allows for access to most of the Google Apis using dotnet.
Then can be found on nuget
Yet another analytics API for C#
https://github.com/igooana/igooana
This project is aimed at C# 5 and uses async/await and dynamic extensively.
I tried to make this API as simple as possible and maximum type-safe.