mackwic / bof-api Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
Critères d'acceptation:
GET /
retourne les routes tel que dans l'exemple 1Exemple 1:
> HTTP GET /
< 200 OK
{
"name": "",
"version": "",
(...)
"routes": {
"/": {
"GET": "Liste les routes et la version de l'API"
},
}
}
Critères d'acceptance:
GET /bofs/sessions/2018-03-15/speakers
existe et retourne un JSON tel que dans l'exemple au dessusExemple 1:
> HTTP GET /bofs/sessions/2018-03-15/speakers
< 200 OK
[
"[email protected]", "[email protected]", "[email protected]", ...
]
Exemple 2:
Cellule | Valeur parsée | Commentaire |
---|---|---|
[email protected] |
[ "[email protected]" ] |
|
[email protected], [email protected] |
[ "[email protected]", "[email protected]" ] |
Séparé par des virgules |
\t [email protected], [email protected] |
[ "[email protected]", "[email protected]" ] |
Trimmer les espaces avant + après (voir le code de la page) |
[email protected], ,,[email protected], |
[ "[email protected]", "[email protected]" ] |
Ignorer les items vides |
Exemple 3:
Cellule | Valeur parsée | Commentaire |
---|---|---|
bes |
[] |
Un trigramme n'est pas un email valide |
bes, [email protected] |
[ "[email protected]" ] |
On ignore le trigramme en début de ligne mais on garde l mail valide |
Exemple:
> HTTP GET /bofs/sessions/2018-03-15
< 200 OK
[
{
track: 1,
start: "14:00",
end: "14:30",
private: false,
speakersMails: [ "[email protected]", "[email protected]" ],
imageURL: "http://...",
description: "une longue description...."
}
]
Critère d'acceptance:
GET /bofs/sessions/:date
retourne un objet comme dans l'exemple au dessusCritères d'acceptance:
Get /bofs/next
retourne un JSON { date: "2018-03-15" }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.