A new design for MonQuartierIdéalàParis

In a previous article, I talked about my website to find your ideal district in Paris.

Since them, I have added some new features like a multimodal calculator, to find the journey time.

Today, I uploaded the new design that is now optimised for mobile and small screen (thank’s to bootstrap). Here is what it looks like :

screenshot of the new design from my website

screenshot of the new design from my website

For now, it is only available in French, but it will be soon in English too (I’ve alreay done a big part of the work).

You can have a look on it thank’s to this link.

Conky, when is my next bus ?

Tisseo (Toulouse’s public transport operator) have an API which can be used to get real time bus at a stop (among plenty of others features). So I requested the access (it’s free but you have to register) and now I can play with it.

I thought that a nice application would be to display the next bus using Conky (conky is a highly customizable software running on linux to display information on your desktop).

Here is the result :

A screenshot of my conky on my desktop

A screenshot of my conky on my desktop

I also added the data from JC Decaux’s API about their self-service bike.

For those wondering how I did here is a quick explanation : every 10 seconds, conky is executing a php script which will gather the data from the API and return what will be displayed on conky.

Here is the line on conky calling the script :

${execpi 10 php ~/.conky/php/bus.php}

And here is the php script gathering data from JC Decaux :


//put here your API key
$key = "key";

//name of the contract, toulouse in my case
$contract_name = "toulouse"; 

// Name of the station => ID of the station
$to_look = array("Fac de Pharma"=>228,"ENAC"=>223,"CNRS"=>237); 

foreach($to_look as $nom=>$id) //display every station in $to_look
	$link = "https://api.jcdecaux.com/vls/v1/stations/".$id."?contract=".$contract_name."&apiKey=".$key;
	$result = file_get_contents($link); //making the request
	$result = json_decode($result,true); //decoding

	echo('${offset 30}${color DDDDDD}'.$nom.' - '.$result["available_bikes"].' vélos & '.$result["available_bike_stands"]. ' stands');


I hope that this will give ideas to others !

My Ideal District in Paris

In this article I’m going to introduce to you the website I created about Paris. Here is the link, for now it is French … sorry. It is meant to find your ideal district in Paris when you want to live in it (hence the title). The result is based on multiples criterias that the user can enter. Every data for the criterias were collected from public database published by the State and the city of Paris thank’s to the OpenData policy. Here are some examples of criterias that you can choose (you can choose up to 10 criterias) :

  • number of velib (the famous self-service bike system of Paris)
  • acces to public transport (Metro and RER)
  • privilege district with bars and restaurant
  • and so on …

The user chooses the priority for every criterias and the website calculates a mark for every district. Here is what the result page looks like, it is an interactive map :

The result page displaying the districts of Paris (in French)

With this website I have 2 goals :

First, it is a great way to provide data to people wanting to live in Paris (the concept can of course be applied to any city). It is very hard to come and live in a city that you barely know, therefore this kind of tool can help you.

Secondly, this website shows what I consider as the true power of OpenData. In my opinion what is really interesting is not that you can do with a set of data but the fact that you can gather a lot of databases. We can now build powerful applications that can show things that were impossible to show before because everything was compartmentalised.

I’ll try to add modifications in the future …