[H1] Page Title Edit the file on GitHub
It would be nice to write a short description of the current page.
Table of Contents
[H2] Page Section
This is a very cool component that you can use to create an awesome application or even make a fine cup of delicious espresso.
Note
Always use filtered water to make espresso. Using water with high mineral content can result in off-tasting espresso and mineral buildup.
[H3] Sub section
Espresso beans for the Skroutz can be found in many places. Here is a list of available places with a short description:
- Place 1
- This is a cool place.
- Place 2
- This is a cool place too.
- Place 3
- Ok, you got the point.
[H4] Sub section paragraph
The following code snippet shows how you can grind the espresso beans:
# Create a new instance of CoffeeGrinder
espresso_grinder = new CoffeeGrinder()
# Set the coffee type and grind level
grinder.coffee_type = 'espresso'
grinder.level = 'finest'
# Grind it
grinder.start()
[H2] Page Section
Another cool feature is described here.
[H3] Sub section
Here is an extended code block:
<!-- Add the Tracking Script and Connect to your Account -->
<script>
(function(a,b,c,d,e,f,g){a['SkroutzAnalyticsObject']=e;a[e]= a[e] || function(){
(a[e].q = a[e].q || []).push(arguments);};f=b.createElement(c);f.async=true;
f.src=d;g=b.getElementsByTagName(c)[0];g.parentNode.insertBefore(f,g);
})(window,document,'script','https://analytics.skroutz.gr/analytics.min.js','skroutz_analytics');
skroutz_analytics('session', 'connect', 'SA-XXXX-YYYY'); // Connect your Account.
</script>
Attributes
A really nice table:
Name | Type | Value | Required | Description |
---|---|---|---|---|
attr1 |
String | val1 default, val2 , val3 |
Yes | Attribute description |
attr2 |
Number | 10 , 20 default |
Yes | Attribute description |
attr3 |
Array | [10, 20] |
No | Attribute description |
Example
Here is an example request:
GET /coffee_shops/:coffee_shop_id/locations
Result
Here is the result of the above example:
GET https://api.skroutz.gr/shops/452/locations/2500
View Response
Show Headers
Status: 200
{
"location": {
"id": 2500,
"headquarter": true,
"phones": [
"2102899999"
],
"pickup_point": false,
"store": false,
"full_address": "14ο ΧΛΜ ΕΟ ΑΘΗΝΩΝ ΛΑΜΙΑΣ 14, Τ.Κ. 14452, ΜΕΤΑΜΟΡΦΩΣΗ, Αττικής",
"format": "structured",
"lat": "38.062297",
"lng": "23.75991",
"info": ""
}
}