Laur IVAN

List Rundeck Jobs for a Project

Posted by in IT, Software, Tutorial

Now that we Rundeck have a list of project names, we might want to see which jobs were created for each project. To do this, we need: The Rundeck instance’s address (server, port) The API key (api_key) A project’s name (project_name) First, we need to get the list of jobs for a project:

The result is also an XML, just like the one for the projects. Therefore, we need to parse it:

At the end of this exercise, we’ll have a list of job names (IDs). HTH, A…read more

Get all Proposal Names from the Participant Portal

Posted by in Software, Tutorial, Uncategorized

I’ve found out the participant portal for H2020 offers an API. This is quite neat as one can integrate with the data, e.g. by reading and listing the calls. I’ve written a proof of concept to list all calls from this and last years. First, we load the data in a JSON object:

Then, we extract the year:

Lastly, we iterate through all calls and extract the ones we need:

For the calls API, you can have access to the following information (fields): CallIdentifier FileName – e.g….read more

GoogleApiClient .connect() Interface or Class

Posted by in Software

TL;DR: If it’s your code, check the version play services ( com.google.android.gms:play-services-*). If you’re using a library, check if the library has a version using play services >= 8.1.0. If not, you’ll need to clone and upgrade it yourself. The other day I got an interesting error coming out when running an app: ‘GoogleApiClient.connect()‘ was expected to be of type interface but was found to be virtual The reason was a backwards incompatible change in 8.1.0 where GoogleApiClient changed its signature. Moreover, it was in a library using version 7.x while…read more

Multipool.us APIs

Posted by in Software

Multipool is a multi-coin mining pool, capable of dynamically switching between currencies, to maximise the profitability. They offer an API which allows nice access to their data. Unfortunately, I’ve found that it’s quite difficult to find what’s what, so I’ve decided to document it. Below you’ll find some extra info on URLs and structure of the data. Generic Information Multipool offers status information to the public. at the following URL:

Information has he following structure: hashrate – A dictionary of supported currencies and their mining hashrates in MHs currency…read more