How to retrieve Repute Digital data from your backend
Sample PHP script
<?php $request = "key=YOUR_PRIVATE_KEY&uuid=USER_TOKEN"; $ch = curl_init('https://reputedigital.com/api/data/get'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $request); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); $result = json_decode($result); ?>
"YOUR_PRIVATE_KEY" is located in App Settings page.
About "USER_TOKEN" you can read here.
Output
{#579 +"id": 3 +"name": "User Name" +"country": "User country" +"company": "User company" +"ip": "123.456.789.012" +"socials_connected": "facebook,instagram,google,twitter,linkedin,ebay,uber,pinterest,paypal" +"verified_phone": "+1234567890" +"created_at": 1514768461 +"report": {#581 +"scores": {#580 +"overall": 67 +"identity": 81 +"risk": 60 } +"sentiment": 60 +"sexual_references": null +"discriminatory_comments": null +"drug_references": array:2 [ 0 => "some post with <b>drug</b> references" 1 => "another post with <b>drug</b> references" ] +"digital_presence": {#584 +"ebay": {#582 +"link": "link to user profile" +"name": "User Nickname" +"email": {#583 +"value": "usermail@mail.com" +"disposable": false } +"avatar": null +"network": null +"active_since": 1355314332 } +"uber": {#585 +"link": null +"name": "User Name" +"email": {#586 +"value": "usermail@mail.com" +"disposable": false } +"avatar": "link to user avatar" +"network": null +"active_since": 1355314332 } +"google": {#587 +"link": "link to user profile" +"name": "User Name" +"email": {#588 +"value": "usermail@mail.com" +"disposable": false } +"avatar": "link to user avatar" +"network": 123 +"active_since": 1355314332 } +"paypal": {#589 +"link": null +"name": "User Name" +"email": null +"avatar": null +"network": null +"active_since": null } +"twitter": {#590 +"link": "link to user profile" +"name": "User Name" +"email": null +"avatar": "link to user avatar" +"network": 123 +"active_since": 1355314332 } +"facebook": {#591 +"link": "link to user profile" +"name": "User Name" +"email": {#592 +"value": "usermail@mail.com" +"disposable": false } +"avatar": "link to user avatar" +"network": 123 +"active_since": 1355314332 } +"linkedin": {#593 +"link": "link to user profile" +"name": "User Name" +"email": {#594 +"value": "usermail@mail.com" +"disposable": false } +"avatar": "link to user avatar" +"network": 123 +"active_since": null } +"instagram": {#595 +"link": "link to user profile" +"name": "User Name" +"email": null +"avatar": "link to user avatar" +"network": 123 +"active_since": 1355314332 } +"pinterest": {#596 +"link": "link to user profile" +"name": "User Name" +"email": null +"avatar": "link to user avatar" +"network": 123 +"active_since": 1355314332 } } +"ebay_analysis": {#597 +"comments": array:6 [ 0 => "Great customer" 1 => "Thanks. A++++++." 2 => "Thank you for shopping" 3 => "Other comment" 4 => "Other comment" 5 => "Other comment" ] +"ratings_12m": {#598 +"total": 40 +"neutral": 10 +"negative": 10 +"positive": 20 } +"transactions": 123 +"transactions_6m": 20 } +"paypal_analysis": null +"uber_analysis": {#599 +"trips": 42 +"phone_verified": true +"total_distance": 85 } +"linkedin_analysis": {#600 +"email": "usermail@mail.com" +"summary": "User summary" +"headline": "User headline" +"industry": "Program Development" +"positions": array:1 [ 0 => "User position, User company" ] } +"personality_analysis": null } }