Retrieve cover artwork using Spotify API

June 17th 2014: Today Spotify released a new Web API. It is now easy to retrieve cover artwork, as all endpoints includes an array of images for every item. Search example: curl -X GET “https://api.spotify.com/v1/search?q=tania%20bowra&type=artist” { “artists” : { … “items” : [ { … “images” : [ { “height” : 640, “url” : “https://d3rt1990lpmkn.cloudfront.net/original/f2798ddab0c7b76dc2d270b65c4f67ddef7f6718”, … Read more

How do I combine multiple OpenAPI 3 specification files together?

I wrote a quick tool to do this recently. I call it openapi-merge. There is a library and an associated CLI tool: https://www.npmjs.com/package/openapi-merge https://www.npmjs.com/package/openapi-merge-cli In order to use the CLI tool you just write a configuration file and then run npx openapi-merge-cli. The configuration file is fairly simple and would look something like this: { … Read more

get releases empty in github api

From the documentation: This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the Repository Tags API. GitHub’s UI is confusing, but this repository doesn’t actually have any releases, which are a GitHub-specific concept. The “releases” … Read more

Getting historical data from Twitter [closed]

Twitter notoriously does not make “available” tweets older than three weeks. In some cases you can only get one week. You’re better off storing tweets for the next three months. Many rightly doubt if they’re even persisted by Twitter. Are you looking for just any tweets? If so, check out the Streaming API’s status/sample method. … Read more

Can anyone give a good example of using org.apache.maven.cli.MavenCli programmatically?

Yeah, the’s not much in the way of documentation of MavenCli. The API is significatly simpler but i’d still like some examples. Here’s one that works… MavenCli cli = new MavenCli(); int result = cli.doMain(new String[]{“compile”}, “/home/aioffe/workspace/MiscMaven”, System.out, System.out); System.out.println(“result: ” + result); It takes a dir and runs the ‘compile’ phase…