How to use Mongo DB (read only mode)

Here you can find a quick guide, how to use MongoDB and find information you need (Datafeed and Datastream are structured in the same way).

Select Datastream collection

Once connected to correct host, you arrive on the list of all available databases. Please select "Datastream" database:

Datastream collection list

Once done, you'll see the list of all the entries available in this collection, 20 per page:

First entries of Datastream documents collection

How to manipulate the data

The difference between Datastream and Datastream documents collections

  1. Datastream's collection: used to select the right « local » and get the right feedId number.

  2. Datastream documents collection: here you can find all the documents. - What a document is? A document could be a Tyre, a Tube, a Tubular, a Set, a Dealer or a Vehicle.

How to reach the right Datastream document

When looking for information in MongoDB, we're using NoSQL commands.

The easiest element to use is feed ID, but what to do when you do not have it and you want the same scope of information? What can help you finding the correct feed ID is: - brand, e.g: « Michelin », « BFGoodrich » - kind, e.g. « tyre », « dealer » - productLineActivity, e.g. « 4W », « MO », « TK » - country: ISO code 2 letters, e.g. « in » - lang: ISO code 2 letters, e.g. « en » - status, e.g. « VALID » (means the feed is Valid) for example: {brand:"Michelin",kind:"tyre",productLineActivity:"4W", country:"in",lang:"en",status:"VALID"} This method will let you find your feed ID and so the right "document" you need.

If you want to order the information descending, for example by creation date in SORT option enter: {createdAt:-1}

Here you can find some NoSQL requests, that can help you with more specific needs.

NoSQL basic requests

All the additional information about the data schema for Datafeed can be found here: https://datastream.service-dcadcx.michelin.fr/

Access the data - export option

Once you got your feed ID, you can repeat the search using it, for example: {feedId : "1574949823525-59458192-cb29-406d-9370-caa9860f5f8e"}

Now, when you have all the tyres for the last export, choose the "Collection" option available in the main menu, than "Export Collection". There are two possible formats: .json and .csv.

MongoDB Collection menu
Mongo DB export collection options

Last updated

Was this helpful?