WhatPulse Forums » Support » Website v » [SOLVED] Web API issue Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Web API issue
12-06-2014, 03:20 PM (This post was last modified: 12-06-2014 04:40 PM by smitmartijn.)
Post: #1
Bug [SOLVED] Web API issue
I am using the Web API to look up stats and I found out that there is a problem with its returned data, more specifically when using the formatted=yes flag with teams.

http://api.whatpulse.org/team.php?team=a...ormat=json returns the correct key and click counts

http://api.whatpulse.org/team.php?team=a...matted=yes returns some obviously wrong ones
Find all posts by this user
Quote this message in a reply
12-06-2014, 03:38 PM
Post: #2
RE: Web API issue
Not sure what you're seeing or mean with 'obviously wrong ones', but they look fine here:

"Keys":46162702,"Clicks":10118324
"Keys":"46,162,702","Clicks":"10,118,324"

Keep in mind that stats are cached for an hour on different servers, so there is a chance that the api results vary a bit when refreshing.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-06-2014, 04:30 PM
Post: #3
RE: Web API issue
They appear correct now but about an hour ago keys was "1,729" and clicks was "1,426". Which is too far off to be a caching problem.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [SOLVED] Premium Period Graph not working iOChris 1 686 09-02-2016 07:17 PM
Last Post: iOChris
  [SOLVED] Profile ranking stats inconsistent with the leaderboard Mevious 1 932 05-21-2016 10:47 AM
Last Post: smitmartijn
  [SOLVED] Keywords like %WeekKeys% not working Adrriii 2 1,328 02-28-2016 02:13 PM
Last Post: Adrriii
  [SOLVED] Bought 5 Months of Premium... no Email after SeeEmAge 4 1,290 02-26-2016 10:28 PM
Last Post: smitmartijn
  [SOLVED] When does my whatpulse premium end? fractalsauce 3 1,257 02-26-2016 10:27 PM
Last Post: smitmartijn
  [SOLVED] Profile picture uploading not working? JigglyKing37 4 1,490 02-07-2016 07:19 AM
Last Post: JigglyKing37
  [SOLVED] Login problem/issue TehMoff 2 1,745 07-24-2015 01:09 PM
Last Post: TehMoff
  [SOLVED] Computers Pie Chart And Latest Forum Posts Box Not Displaying Inquizitor 4 2,114 04-12-2015 10:03 AM
Last Post: smitmartijn
  Website Issue when changing and joining remco.remco 0 886 03-16-2015 02:25 PM
Last Post: remco.remco
  [SOLVED] mouse and keyboard heatmap not showing guga.melro 1 2,022 10-29-2014 07:46 AM
Last Post: smitmartijn

Forum Jump:


User(s) browsing this thread: 1 Guest(s)