PHP script to read data from a webhook

Completed Posted Feb 16, 2016 Paid on delivery
Completed Paid on delivery

I need to have a script read data and break it into many different variables. The data looks like this...

[{"email":"[url removed, login to view]@ [url removed, login to view]","timestamp":1440520764,"ip":"[url removed, login to view]","sg_message_id":"H3R-tpokTcGjq04_zLJX-Q.filter0439p1mdw1.14794.55DC983C34.0","sg_event_id":"MWRkYTNjMWUtMmRiMC00NzU4LWIyM2MtZGUwNTRjNTc2ZWNi","useragent":"Mozilla/5.0 (iPhone; CPU iPhone OS 8_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12D508","event":"open"}]

I need the following extracted into variables:

email

timestamp

event

Then I can do stuff with the variables like put it into a database (I will do this part).

Here are the instructions from sendgrid on what they sent

[url removed, login to view]

PHP

Project ID: #9677674

About the project

5 proposals Remote project Active Feb 16, 2016

Awarded to:

$25 USD in 1 day
(1 Review)
0.7

5 freelancers are bidding on average $25 for this job

suporteideacorp

Hello, my name is Ramon, I am director of a company called Ideacorp in Brazil. My company has a number of qualified professionals in the following areas: - Development of web sites and applications; - Configuration More

$35 USD in 2 days
(5 Reviews)
2.3
NinjasDev

We can have your script ready in less than one day, we have experience working with Json and other web services languages.

$25 USD in 1 day
(0 Reviews)
0.0