Google Sketchup API - to a Windows App? - c#

How can one interface with Google Sketchup, via the API, from a Windows App?
I was looking at something written in C#/VB.NET but its seems like the only available Google Sketchup API is for Ruby.
Any ideas on how to use that Ruby API from .NET? Is Ruby only serverside or can it be processed locally, offline?

There is a C++ API in addition to the Ruby Script system. Find it here:
http://code.google.com/apis/sketchup/docs/downloadsdksubmit.html

I think that the Ruby API is just for script plugins, not for interfacing from a standalone app. Maybe you could add a Google Sketchup ruby plugin that interfaces with your app?

Related

How To Create a gRPC Service In C# For Google Assistant SDK?

I want to communicate with the Google Assistant SDK via C#, and the SDK website said that for languages other than Python, I need to setup gRPC. Are there any good tutorials on this that I can use to get started? Thanks :)
https://developers.google.com/assistant/sdk/reference/rpc/
It should be possible to use assistant API SDK from any language that support gRPC (including C#), but if there is not pre-build assistant SDK available (looks like there is one for python, not sure about other languages), it is a bit more involved to do that.
In short:
The .proto API definitions for all public Google APIs (including assistant API) live in "googleapis/googleapis" github repo:
https://github.com/googleapis/googleapis/tree/master/google/assistant/embedded/v1alpha1
In short, here's what you need to do:
grab .proto definitions for the API from github
generate proto messages/stubs in language of your choice (basically the same as in gRPC tutorials on grpc.io).
authenticate with google using an auth library
(http://www.grpc.io/docs/guides/auth.html)
invoke API calls using a client stub generated in step 2.
Btw, the Google API client libraries are basically a pre-packaged result of these steps, sometimes with a bit of convenience layer on top of it improve the user friendliness of a given API.
Also, usually support for more languages is added to new APIs over time (so at some point there might be and official C# client library).

Using Exchange WebServices - EWS - in Universal App

I'm developing an Universal App in c# - Is there a way to consume EWS in Universal Apps?
The cool thing about webservices is, that you can consume them from anything that can reach out to http. So you can talk to it using HttpClient.
As ews is a very complex api, you may look out for the EWS managed api package. They sadly don't support .Net Core yet (and therefore UWP Apps). But it's open source they take pull requests, so you just try to move it over to a .netstandard type of library.
So in short: Yes you can, but it's complicated...

Is UWP / XAML C# compatible with the Spotify API?

I am learning development for Windows Universal Platform and I wanted to create a simple app capable of leveraging some Spotify data once the user logs in.
I can see from the documentation that there is an SDK for Android and iOS, and a library that is considered deprecated.
Do you guys know if there is any way for me to still communicate with the Spotify API using .NET/C# ?
Thanks a lot,
Florian
There doesn't seem to be a SDK from Spotify, but there are references to WebApi .Net Wrappers at the bottom of this official page:
Spotify Web API Wrapper on Codeplex
Spotify Web API Wrapper on GitHub

C# - Facebook API used with desktop apps?

Can I use the facebook API to make a windows desktop application? Like create a chat client to use to chat with facebook users??
yes, while I have not done it myself, there seem to be standalone apps developed for facebook like FaceoffIM... so I am assuming you can.
If I remember correctly, Telerik is maintaining something in Silverlight called fdek... which would again mean in principle it is possible.
There is also a Facebook C# SDK available on Codeplex which might be of use... under its project description it states "The Facebook C# SDK helps .Net developers build web, desktop, Silverlight, and Windows Phone 7 applications that integrate with Facebook."
Yes, you can develop desktop applications that interact with the Facebook API's.
You can use the C# SDK which is introduced in this official blog post https://developers.facebook.com/blog/post/395
Basically, any desktop application just needs to send http web requests to the Facebook API's. The easiest would be to use the the Graph API (https://developers.facebook.com/docs/reference/api/)
Hope this helps.

web app for mobile

So we already have a web service that was develop a long time ago. It's the legacy .net web service (not WCF)
I'm looking into how to build a web application that i'll be able to run on multiple different devices : IPhone, IPad, Android.
So far i've seen PhoneGap : http://www.phonegap.com/. This is interesting for us because it seems to allow us to use Native Device Features. Our app needs to use Scanning capabilities.
Since phonegap is based on HTML ... would it be possible to have it communicate with our legacy web service? How can this be achieved?
Let's say our app don't need to use any device native features, I guess just building a regular ASP.NET page should work right?
Do I have to make modification to our existing webservice? Like making it RESTful?
Any advice is appreciated,
Thanks,
You simply create an XMLHttpRequest in Javascript, pass in your GET/POST parameters, and handle the XML which the webservice returns. It's quite simple, really!
jQuery gives javascript developers $.get and $.post functions which make this extremely easy. Remember, you can use any javascript library and function supported by the devices webview within your phonegap application!
Titanium Appcelerator is another alternative.
The application is developed in javascript and native code generated for iPhone, Android and in the latest release for Blackberry as well.
EDIT: Here is a comparison of Phonegap and Titanium.
Related discussion on Stackoverflow:
Is Titanium appcelerator worth it for developing camera based application on ipad, iphone and android?

Categories

Resources