How to create Work items (tasks, bugs, etc) using ruby for an Azure DevOps project? - ruby

Is there any Ruby API that would be used to create work items in my ADS project?
Which api should I use to create or update work items in Azure DevOps using ruby?

There is unofficial Ruby library that wrap the Azure DevOps api, you can find it here, is not look like it's maintained.
Another option is to use Azure DevOps Rest API with Ruby, and run it like every HTTP request.

Not sure about the Ruby API, but can use the standard REST API in ruby code to create work item in ado project. Below links with help you with the details -
https://learn.microsoft.com/en-gb/rest/api/index?branch=master&view=Azure%20DevOps
Work item tracking Service
https://learn.microsoft.com/en-gb/rest/api/azure/devops/wit/?view=azure-devops-rest-5.0

Related

How to implement Amazon MWS api in MVC Web API?

I am new to Amazon marketplace web service (MWS). I have read documentation of web service but I am unable to understand which api suit for update quantity and price of single or multiple product at one time.
Here is link that I am reading so far and don't know where to start.(http://docs.developer.amazonservices.com/en_US/feeds/Feeds_SubmitFeed.html)
Can you guys suggest me where to start?
Check out the feed types. You're going to want to submit a pricing or inventory feed to update your inventory. Once you have a feed created, you submit that using the SubmitFeed operation.
For an overview on how feeds works, check out this What you should know about the Amazon MWS Feeds API section.
Specifically for ASP.NET, there is an SDK built that will help you greatly. If you want to know how to implement that as a web api, that's another topic, but you can wrap code from the SDK inside a web api endpoint. But start with understanding MWS.

How can I create an account on Parse.com ? There is no signup button?

I cannot find any signup button.
I gave right to Parse to access my Facebook and GitHub account to login with that but nothing happens and it keeps going back to the main page.
Any suggestion ?
Yes, you cannot currently setup a new account with Parse.com, because of some platform issues.
They have however open source a majority of the technology behind the platform. Check https://github.com/ParsePlatform/parse-server to setup your self-hosted instance of the parse-server.
You can also check out http://firebase.com for similar service.
You will not be able to create anymore. Parse is moving down.
But you can keep using Parse. At the same time Parse announced it will be shutdown, it also announced the Parse Server open source project. Parse Server community is growing and it is becoming even better than original Parse. In a short time, Parse Server will become the best framework for backend and API development.
My recommendation to you is to start using a Parse Hosting provider. Using this kind of solution you will use same Parse APIs and features. It will not require you learn other technology nor rewrite any frontend code.
You can find some options in parse server repository: https://github.com/ParsePlatform/parse-server#parse-server-sample-application
For a full disclaimer, I am co-founder of https://www.back4app.com
Try logging in using their login page: https://www.parse.com/login
Parse will be fully retired after a year-long period ending on January 28, 2017.
You cannot sign up or create new accounts, but you can use Parse Server in your own infrastructure.

Connect PhalconPHP with Parse.com

What is the sequence I have to follow in order to integrate PhalconPHP with Parse.com (the php SDK)?
If is it possible how will I access to it?
I have seen that there is an Parse PHP SDK with classes helping us to do requests to Parse Backend.
It's technically a same way as to integrate PHP with parse.com. By following first section of the tutorial you will be able to get SDK classes via \Parse namespace. When installed, it's your choice to wrap an Injectable service around it and hook it to di or to use it as it is.

Create New View for Google Analytics with Ruby

I was wondering how to create a new view for google analytics with ruby using the current 0.8.6 version of the library or otherwise? This would be after I have gotten the appropriate access token.
The specific call is here: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/profiles/insert
Any tips would be very much appreciated!
Write operations in the Management API (e.g. create, update, delete, patch) for Web Property, View (Profile), and Goal resources is currently available as a developer preview in limited beta. If you're interested in using these features, request access to the beta
It can take a while to get access it took me over a month you might want to start there first. While you are waiting I suggest you look at the normal ruby google analytics core reporting API examples once you are familiar with those you should be able to get the insert views working.

Google API Oauth 2 with Installed App

I am using Google API OAuth 2.0 for Installed Applications & php. This is a WordPress plugin we are updating, and it was recommended to us by Google support to use Installed App instead of Web App "because you will then have a single Project ID, your users won't need to create their own using the APIs Console"
I am wrestling a bit to get the proper setup for this - Web App samples were easy enough, but I cannot find a single example of the code setup for creating these:
https://developers.google.com/accounts/docs/OAuth2InstalledApp#formingtheurl
It says I should use "code" & "grant_type", but I don't see any functions in the apiClient to set these.
As I'm prolly not being very clear, what I'm looking for is the equivalent of this:
$client->setClientId();
$client->setClientSecret();
$client->setRedirectUri();
$client->setDeveloperKey();
$client->setScopes(array('https://www.googleapis.com/auth/analytics.readonly'));
For Installed Apps.
Thanks!
The Google Drive SDK documentation includes a step-by-step quickstart sample that uses OAuth 2.0 for Installed Applications:
https://developers.google.com/drive/quickstart
This is the code you are looking for:
$client->setClientId('YOUR_CLIENT_ID');
$client->setClientSecret('YOUR_CLIENT_SECRET');
$client->setRedirectUri('urn:ietf:wg:oauth:2.0:oob');
$client->setScopes(array('https://www.googleapis.com/auth/analytics.readonly'));

Resources