Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

al-barriere/wizbii-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petit test API

I/ objectif

  • Faire 2 routes GET et POST afin de pouvoir enregistrer les informations des page_view, screen_view ou event selon la documentation : https://analytics.wizbii.com/doc.html.
  • Enregistrer les informations dans une base noSQL (Utilisation de mongoDB dans ce cas)

II/ Installation

  • clonage du projet
  • composer install afin d'installer les bundles utilisés pour ce projet
  • création d'un fichier .env pour mettre les informations de sa base de données

Exemples :

  • curl -X GET 'http://127.0.0.1:8000/collect?t=pageview&dl=http://www.wizbii.com/bar&ec=ads&el=client&ea=Click_Masthead&ds=web&cn=bpce&cs=wizbii&cm=web&ck=erasmus&cc=foobar&v=1&tid=ER-4564-R&dr=http://www.azerty.com&wct=profile&wui=bariere-antoine&sn=screen_yo&an=application_name&av=2.4.17'
  • curl -X POST -d'[{"t":"event","dl":"company/wizbii","dr":"job/dev-backend-chez-wizbii","wct":"profile","wui":"remi-alvado","ec":"navigation","ea":"tap","el":"button-top","ev":1,"tid":"UA-1345-Y","ds":"apps","sn":"company","an":"WizbiiStudentAndroid","av":"1.2.1","qt":"123","v":"1"}]' 'http://127.0.0.1:8000/collect' ["1","event","company\/wizbii","job\/dev-backend-chez-wizbii","profile","remi-alvado","navigation","tap","button-top",1,1,"apps","","","","","","company","WizbiiStudentAndroid","1.2.1"]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages