I like the looks of this
Code:
api.bfbc2s.net http://api.bfbc2s.net/api/{ps3|xbox|pc}/{playerName}.{json|jsonp} Updates processed (usually) within 5 minutes of initial request. Existing stats only updated once every 24 hours, and only if actively utilized.
Try filling in the blanks there...AussieReaper wrote:
Was all I saw.
http://api.bfbc2s.net/api/pc/voodoochild84.json
for example.
it's just a line of info. Is it supposed to be like that?
is a UI in the works?
is a UI in the works?
pretty cool... i need to play more than 11 minutes though lol
Love is the answer
Just the API, there are already two fantastic bc2 stats sites out there already, no reason to crowd it up with a third.Jenspm wrote:
And cool stuff chuy. Do you plan on building your own site around this (or alternatively expand on BF2s), or just release the API and let someone else do it?
Seems to work ..
k, so it works with underscores, and isn't case sensitive.
so far only lowercase with jsonp works however.
so far only lowercase with jsonp works however.
My state was founded by Batman. Your opinion is invalid.
Examples?Cheez wrote:
k, so it works with underscores, and isn't case sensitive.
so far only lowercase with jsonp works however.
Worked with uppercase with json for me
main battle tank karthus medikopter 117 megamegapowershot gg
http://api.bfbc2s.net/api/pc/ebug9.json
gave me
outputs this
gave me
http://api.bfbc2s.net/api/pc/ebug9.jsonp{error:"No user found, update queued"}
outputs this
Code:
bc2stats({"info":{"generated":1273993205},"general":{"games":{"name":"Number of games played","value":414},"wins":{"name":"Number of games won","value":235},"losses":{"name":"Number of games lost","value":179},"c_win_att_out_g":{"name":"Attacks ending in Win","value":182},"c_loss_att_out_g":{"name":"Attacks ending in Loss","value":32},"c_win_def_out_g":{"name":"Defends ending in Win","value":42},"c_loss_def_out_g":{"name":"Defends ending in Loss","value":138},"kills":{"name":"Number of kills","value":3959},"deaths":{"name":"Number of deaths","value":2753},"accuracy":{"name":"Global Accuracy","value":1.8},"teamkills":{"name":"Number of team kills","value":14},"time":{"name":"Time Played in MP","value":310378.9},"spm":{"name":"Score Per Minute","value":0},"level":{"name":"Player skill level","value":159},"goldedition":{"name":"Limited Edition","value":0},"demo_rank":{"name":"Demo Rank","value":0},"rank":{"name":"Ramk","value":29},"score":{"name":"Global Score ","value":1036406},"sc_award":{"name":"Award Score","value":575790},"sc_vehicle":{"name":"Vehicle Score","value":51955},"sc_general":{"name":"General score","value":251840},"sc_team":{"name":"Team score","value":28425},"sc_bonus":{"name":"Bonus score","value":58251},"sc_squad":{"name":"Squad score","value":91415},"sc_objective":{"name":"Objective Score","value":43335},"c___tag_g":{"name":"Global no. of plants ","value":66},"dogt":{"name":"Total number of dogtags","value":223},"udogt":{"name":"Total number of unique dogtags","value":0},"dogr":{"name":"Number of times you've been dogtagged","value":158},"c_deml__kw_g":{"name":"Kills with Demolition","value":1},"c_deml__sfw_g":{"name":"Shots fired with Demolition","value":0},"c_deml__shw_g":{"name":"Shots hit with Demolition","value":0},"c_deml__sw_g":{"name":"Seconds with Demolition","value":0},"c__deml_hsh_g":{"name":"Headshots taken with Demolition","value":0},"veteran":{"name":"Veteran Rank","value":2},"webvet":{"name":"Veteran Rank","value":0},"sc_demo":{"name":"Engineer Score","value":85132},"c_de__da_g":{"name":"Death as Engineer","value":490},"c__de_ko_g":{"name":"Kills as Engineer","value":653},"c___r_g":{"name":"Repairs","value":793},"sc_recon":{"name":"Recon Score","value":48995},"c_re__da_g":{"name":"Death as Recon","value":311},"c__re_ko_g":{"name":"Kills as Recon","value":556},"c___msa_g":{"name":"Sniper Spots","value":26},"sc_support":{"name":"Medic Score","value":120820},"c_su__da_g":{"name":"Death as Medic","value":714},"c__su_ko_g":{"name":"Kills as Medic","value":1019},"c___h_g":{"name":"Heals","value":1144},"c___rev_g":{"name":"Revives","value":299},"sc_assault":{"name":"Assault Score","value":153714},"c_as__da_g":{"name":"Death as Assault","value":1070},"c__as_ko_g":{"name":"Kills as Assault","value":1522},"c___res_g":{"name":"Resupplies","value":1081}},"weapons":{"m16":{"name":"M16A2","unlocked":0,"kills":131,"seconds":10645.383,"shots":8418,"hits":1578,"headshots":30,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":134,"platinum_stars":0,"platinum_counter":134},"an94":{"name":"AN-94 Abakan","unlocked":0,"kills":101,"seconds":7076.967,"shots":4090,"hits":626,"headshots":23,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":101,"platinum_stars":0,"platinum_counter":101},"f2000":{"name":"F2000 Assault","unlocked":0,"kills":21,"seconds":1864.267,"shots":1806,"hits":320,"headshots":5,"bronze_stars":1,"bronze_counter":25,"silver_stars":0,"silver_counter":25,"gold_stars":0,"gold_counter":25,"platinum_stars":0,"platinum_counter":25},"xm8":{"name":"XM8 Prototype","unlocked":0,"kills":127,"seconds":10469.6,"shots":7888,"hits":1525,"headshots":30,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":129,"platinum_stars":0,"platinum_counter":129},"aek":{"name":"AEK-971 Vintovka","unlocked":0,"kills":78,"seconds":10475.936,"shots":5734,"hits":1040,"headshots":16,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":102,"platinum_stars":0,"platinum_counter":102},"aug":{"name":"Stg.77 AUG","unlocked":0,"kills":83,"seconds":4861.201,"shots":4552,"hits":774,"headshots":17,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":0,"gold_counter":83,"platinum_stars":0,"platinum_counter":83},"m416":{"name":"M416","unlocked":0,"kills":126,"seconds":11562.112,"shots":8052,"hits":1476,"headshots":40,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":126,"platinum_stars":0,"platinum_counter":126},"n2k":{"name":"Neostead 2000 Combat","unlocked":0,"kills":10,"seconds":1245.704,"shots":142,"hits":18,"headshots":0,"bronze_stars":0,"bronze_counter":10,"silver_stars":0,"silver_counter":10,"gold_stars":0,"gold_counter":10,"platinum_stars":0,"platinum_counter":10},"spas12":{"name":"SPAS-12 Combat","unlocked":0,"kills":102,"seconds":7962.7,"shots":1635,"hits":410,"headshots":10,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":102,"platinum_stars":0,"platinum_counter":102},"u12":{"name":"USAS-12 Auto","unlocked":0,"kills":5,"seconds":271.532,"shots":90,"hits":26,"headshots":1,"bronze_stars":0,"bronze_counter":5,"silver_stars":0,"silver_counter":5,"gold_stars":0,"gold_counter":5,"platinum_stars":0,"platinum_counter":5},"s12k":{"name":"Saiga 20k Semi","unlocked":0,"kills":73,"seconds":6196.933,"shots":5364,"hits":924,"headshots":15,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":0,"gold_counter":77,"platinum_stars":0,"platinum_counter":77},"mcs":{"name":"870 Combat","unlocked":0,"kills":138,"seconds":9147.969,"shots":2714,"hits":608,"headshots":22,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":138,"platinum_stars":0,"platinum_counter":138},"pp2":{"name":"PP-2000 Avtomat","unlocked":0,"kills":92,"seconds":8701.197,"shots":8018,"hits":1534,"headshots":13,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":0,"gold_counter":94,"platinum_stars":0,"platinum_counter":94},"ump":{"name":"UMP-45","unlocked":0,"kills":4,"seconds":642.9,"shots":224,"hits":52,"headshots":0,"bronze_stars":0,"bronze_counter":4,"silver_stars":0,"silver_counter":4,"gold_stars":0,"gold_counter":4,"platinum_stars":0,"platinum_counter":4},"uzi":{"name":"UZI","unlocked":0,"kills":1,"seconds":106.233,"shots":90,"hits":28,"headshots":0,"bronze_stars":0,"bronze_counter":1,"silver_stars":0,"silver_counter":1,"gold_stars":0,"gold_counter":1,"platinum_stars":0,"platinum_counter":1},"scar":{"name":"SCAR-L Carbine","unlocked":0,"kills":3,"seconds":436.034,"shots":116,"hits":28,"headshots":2,"bronze_stars":0,"bronze_counter":8,"silver_stars":0,"silver_counter":8,"gold_stars":0,"gold_counter":8,"platinum_stars":0,"platinum_counter":8},"aks74u":{"name":"AKS-74U Krinkov","unlocked":0,"kills":111,"seconds":11144.6,"shots":6840,"hits":1444,"headshots":13,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":111,"platinum_stars":0,"platinum_counter":111},"9a91":{"name":"9A-91 Avtomat","unlocked":0,"kills":34,"seconds":5170.499,"shots":1752,"hits":386,"headshots":6,"bronze_stars":1,"bronze_counter":25,"silver_stars":0,"silver_counter":35,"gold_stars":0,"gold_counter":35,"platinum_stars":0,"platinum_counter":35},"xm8c":{"name":"XM8 Compact","unlocked":0,"kills":52,"seconds":5932.034,"shots":3740,"hits":882,"headshots":6,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":0,"gold_counter":52,"platinum_stars":0,"platinum_counter":52},"m1a1":{"name":"WWII M1A1 Thompson","unlocked":0,"kills":2,"seconds":391.134,"shots":342,"hits":62,"headshots":0,"bronze_stars":0,"bronze_counter":2,"silver_stars":0,"silver_counter":2,"gold_stars":0,"gold_counter":2,"platinum_stars":0,"platinum_counter":2},"svu":{"name":"SVU Snaiperskaya Short","unlocked":0,"kills":7,"seconds":699.267,"shots":82,"hits":28,"headshots":2,"bronze_stars":0,"bronze_counter":7,"silver_stars":0,"silver_counter":7,"gold_stars":0,"gold_counter":7,"platinum_stars":0,"platinum_counter":7},"qby88":{"name":"Type 88 Sniper","unlocked":0,"kills":0,"seconds":0,"shots":0,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"vss":{"name":"VSS Snaiperskaya Special","unlocked":0,"kills":0,"seconds":170.834,"shots":160,"hits":36,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"mk14ebr":{"name":"M14","unlocked":0,"kills":0,"seconds":125.966,"shots":16,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"g3":{"name":"G3","unlocked":0,"kills":1,"seconds":115.533,"shots":0,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":1,"silver_stars":0,"silver_counter":1,"gold_stars":0,"gold_counter":1,"platinum_stars":0,"platinum_counter":1},"m1":{"name":"M1 Garand","unlocked":0,"kills":0,"seconds":0,"shots":0,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"mg36":{"name":"MG36","unlocked":0,"kills":31,"seconds":3144.671,"shots":2198,"hits":284,"headshots":7,"bronze_stars":1,"bronze_counter":25,"silver_stars":0,"silver_counter":31,"gold_stars":0,"gold_counter":31,"platinum_stars":0,"platinum_counter":31},"m60":{"name":"M60 LMG","unlocked":0,"kills":243,"seconds":13422.07,"shots":10479,"hits":1680,"headshots":54,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":2,"gold_counter":243,"platinum_stars":0,"platinum_counter":243},"mg3":{"name":"MG3","unlocked":0,"kills":3,"seconds":223.301,"shots":382,"hits":56,"headshots":1,"bronze_stars":0,"bronze_counter":3,"silver_stars":0,"silver_counter":3,"gold_stars":0,"gold_counter":3,"platinum_stars":0,"platinum_counter":3},"m249":{"name":"M249 Saw","unlocked":0,"kills":397,"seconds":24112.408,"shots":26297,"hits":4924,"headshots":53,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":4,"gold_counter":407,"platinum_stars":0,"platinum_counter":407},"qju88":{"name":"Type 88 LMG","unlocked":0,"kills":102,"seconds":7548.302,"shots":7035,"hits":1372,"headshots":25,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":103,"platinum_stars":0,"platinum_counter":103},"pkm":{"name":"PKM LMG","unlocked":0,"kills":88,"seconds":10302.201,"shots":6438,"hits":1138,"headshots":20,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":107,"platinum_stars":0,"platinum_counter":107},"xm8lmg":{"name":"XM8 LMG","unlocked":0,"kills":28,"seconds":2584.169,"shots":2254,"hits":362,"headshots":3,"bronze_stars":1,"bronze_counter":25,"silver_stars":0,"silver_counter":28,"gold_stars":0,"gold_counter":28,"platinum_stars":0,"platinum_counter":28},"m95":{"name":"M95 Sniper","unlocked":0,"kills":101,"seconds":10221.427,"shots":668,"hits":314,"headshots":33,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":101,"platinum_stars":0,"platinum_counter":101},"sv98":{"name":"SV98 Snaiperskaya","unlocked":0,"kills":3,"seconds":335.9,"shots":24,"hits":9,"headshots":1,"bronze_stars":0,"bronze_counter":3,"silver_stars":0,"silver_counter":3,"gold_stars":0,"gold_counter":3,"platinum_stars":0,"platinum_counter":3},"gol":{"name":"GOL Sniper Magnum","unlocked":0,"kills":102,"seconds":10686.135,"shots":684,"hits":306,"headshots":48,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":104,"platinum_stars":0,"platinum_counter":104},"m24":{"name":"M24 Sniper","unlocked":0,"kills":136,"seconds":19436.635,"shots":1109,"hits":480,"headshots":65,"bronze_stars":1,"bronze_counter":25,"silver_stars":1,"silver_counter":50,"gold_stars":1,"gold_counter":143,"platinum_stars":0,"platinum_counter":143},"m9":{"name":"M9 Pistol","unlocked":0,"kills":25,"seconds":712.433,"shots":710,"hits":168,"headshots":4,"bronze_stars":1,"bronze_counter":10,"silver_stars":1,"silver_counter":25,"gold_stars":0,"gold_counter":25,"platinum_stars":0,"platinum_counter":25},"mp443":{"name":"MP-443 Grach","unlocked":0,"kills":11,"seconds":244.601,"shots":309,"hits":76,"headshots":1,"bronze_stars":1,"bronze_counter":10,"silver_stars":0,"silver_counter":11,"gold_stars":0,"gold_counter":11,"platinum_stars":0,"platinum_counter":11},"mp412":{"name":"MP-412 Rex","unlocked":0,"kills":0,"seconds":73.301,"shots":6,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"m1911":{"name":"WWII M1911 .45","unlocked":0,"kills":98,"seconds":4131.97,"shots":2752,"hits":465,"headshots":10,"bronze_stars":1,"bronze_counter":10,"silver_stars":1,"silver_counter":25,"gold_stars":2,"gold_counter":108,"platinum_stars":0,"platinum_counter":108},"m93r":{"name":"M93R Burst","unlocked":0,"kills":32,"seconds":2581.971,"shots":3312,"hits":774,"headshots":5,"bronze_stars":1,"bronze_counter":10,"silver_stars":1,"silver_counter":25,"gold_stars":0,"gold_counter":32,"platinum_stars":0,"platinum_counter":32},"hgr":{"name":"Hand Grenade","unlocked":0,"kills":92,"seconds":1805.414,"shots":1170,"hits":400,"headshots":0,"bronze_stars":1,"bronze_counter":10,"silver_stars":1,"silver_counter":25,"gold_stars":1,"gold_counter":96,"platinum_stars":0,"platinum_counter":96},"knv":{"name":"Combat Knife","unlocked":0,"kills":214,"seconds":2100.397,"shots":3064,"hits":386,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"bay":{"name":"M1 Bayonet","unlocked":0,"kills":0,"seconds":0,"shots":0,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"trad":{"name":"Tracer Dart","unlocked":0,"kills":0,"seconds":2115.198,"shots":248,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"rept":{"name":"Repair Tool","unlocked":0,"kills":1,"seconds":12405.905,"shots":60223,"hits":51127,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"rgp7":{"name":"RPG-7 AT","unlocked":0,"kills":0,"seconds":0,"shots":0,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"m2cg":{"name":"M2 Carl Gustav AT","unlocked":0,"kills":51,"seconds":3028.282,"shots":294,"hits":282,"headshots":0,"bronze_stars":1,"bronze_counter":10,"silver_stars":1,"silver_counter":25,"gold_stars":1,"gold_counter":51,"platinum_stars":0,"platinum_counter":51},"atm":{"name":"Anti-Tank Mine","unlocked":0,"kills":2,"seconds":158,"shots":14,"hits":2,"headshots":0,"bronze_stars":0,"bronze_counter":2,"silver_stars":0,"silver_counter":2,"gold_stars":0,"gold_counter":2,"platinum_stars":0,"platinum_counter":2},"m136":{"name":"M136 AT4","unlocked":0,"kills":27,"seconds":2917.001,"shots":236,"hits":174,"headshots":0,"bronze_stars":1,"bronze_counter":10,"silver_stars":1,"silver_counter":25,"gold_stars":0,"gold_counter":27,"platinum_stars":0,"platinum_counter":27},"mots":{"name":"Motion Sensor","unlocked":0,"kills":0,"seconds":505.739,"shots":157,"hits":640,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"c4timed":{"name":"C4 Explosive","unlocked":0,"kills":0,"seconds":0,"shots":0,"hits":0,"headshots":0,"bronze_stars":0,"bronze_counter":0,"silver_stars":0,"silver_counter":0,"gold_stars":0,"gold_counter":0,"platinum_stars":0,"platinum_counter":0},"mst":{"name":"Mortar Strike","unlocked":0,"kills":30,"seconds":2868.303,"shots":2704,"hits":438,"headshots":0,"bronze_stars":1,"bronze_counter":10,"silver_stars":1,"silver_counter":25,"gold_stars":0,"gold_counter":30,"platinum_stars":0,"platinum_counter":30}},"gadgets":{"Medit Kit":{"Unlocked":1,"Heals":1144},"Defibrillator":{" Unlocked":1,"Revives":299,"Kills":0,"Headshots":0,"Seconds":1103.631},"Anmmo Box":{"Unlocked":1,"Kills":0,"Shots":2494,"Hits":1081,"Seconds":3549.672,"Headshots":0},"Rifle Smoke Grenade":{"Unlocked":1,"Kills":0,"Shots":30,"Hits":0,"Seconds":187.533,"Headshots":0},"Rifle Grenade Launcher":{"Kills":287,"Shots":3212,"Hits":1108,"Seconds":22562.139,"Headshots":4},"Rifle Shotgun":{"Kills":2,"Shots":264,"Hits":60,"Seconds":252.9,"Headshots":0}},"vehicles":{"ah60":{"name":"UH-60 Transport","kills":6,"roadkills":0,"seconds":1512.2,"distance":3554.483},"ah64":{"name":"AH-64 Apache","kills":13,"roadkills":0,"seconds":1547.832,"distance":8045.522},"MI28":{"name":"MI-28 Havoc","kills":7,"roadkills":0,"seconds":912.935,"distance":5367.566},"havoc":{"name":"MI-24 Hind","kills":0,"roadkills":0,"seconds":372.7,"distance":914.865},"uav":{"name":"UAV","kills":12,"roadkills":0,"seconds":2258.501,"distance":11875.468},"hmv":{"name":"HMMWV","kills":0,"roadkills":0,"seconds":133.8,"distance":783.458},"vodn":{"name":"Vodnik","kills":0,"roadkills":0,"seconds":96.233,"distance":748.126},"cobr":{"name":"Cobra","kills":0,"roadkills":0,"seconds":67.6,"distance":164.839},"quad":{"name":"Quad Bike","kills":4,"roadkills":4,"seconds":1976.132,"distance":8488.91},"m1a2":{"name":"M1A2 Abrams","kills":22,"roadkills":0,"seconds":3424.635,"distance":3827.829},"t90":{"name":"T-90 MBT","kills":105,"roadkills":0,"seconds":7836.931,"distance":6113.818},"m3a3":{"name":"M3A3 Bradley","kills":62,"roadkills":0,"seconds":4992.469,"distance":2605.183},"bmd3":{"name":"BMD-3 Bakhcha","kills":45,"roadkills":0,"seconds":3257.9,"distance":877.443},"bmda":{"name":"BMD-3 Bakhcha Anti-Air","kills":3,"roadkills":0,"seconds":206.134,"distance":0},"jets":{"name":"Jetski","kills":1,"roadkills":0,"seconds":462.865,"distance":2727.81},"PBLB":{"name":"Patrol Boat","kills":1,"roadkills":0,"seconds":373.167,"distance":2306.491}},"pins":{"01":{"name":"Assault Rifle Efficiency Pin","desc":"In a round, kill 7 enemies with assault rifles.","count":0},"02":{"name":"Grenade Launcher Efficiency Pin","desc":"In a round, kill 4 enemies with grenade launchers.","count":0},"03":{"name":"Sniper Rifle Efficiency Pin","desc":"In a round, kill 7 enemies with sniper rifles.","count":0},"04":{"name":"Handgun Efficiency Pin","desc":"In a round, kill 4 enemies with handguns.","count":0},"05":{"name":"Shotgun Efficiency Pin","desc":"In a round, kill 4 enemies with shotguns.","count":0},"06":{"name":"Rocket Launcher Efficiency Pin","desc":"In a round, kill 5 enemies with rocket launchers.","count":0},"07":{"name":"Light Machine Gun Efficiency Pin","desc":"In a round, kill 7 enemies with light machine guns.","count":0},"08":{"name":"Submachine Gun Efficiency Pin","desc":"In a round, kill 7 enemies with submachine guns.","count":0},"09":{"name":"Emplacement Efficiency Pin","desc":"In a round, kill 5 enemies with stationary weapons.","count":0},"10":{"name":"Explosive Efficiency Pin","desc":"In a round, kill 4 enemies with explosives.","count":50},"11":{"name":"Melee Efficiency Pin","desc":"In a round, kill 4 enemies with melee weapons.","count":7},"12":{"name":"Anti Vehicle Efficiency Pin","desc":"In a round, destroy 4 enemy vehicles.","count":9},"13":{"name":"Combat Efficiency Pin","desc":"In a round, reach a kill streak of 6.","count":105},"14":{"name":"Combat Excellence Pin","desc":"In a round, reach a kill streak of 8.","count":37},"15":{"name":"Kill Assist Pin","desc":"In a round, do 7 kill assists.","count":70},"16":{"name":"Savior Pin","desc":"In a round, do 2 savior kills.","count":81},"17":{"name":"Avenger Pin","desc":"In a round, do 2 avenger kills.","count":36},"18":{"name":"Marksman Pin","desc":"In a round, do 5 headshots.","count":22},"19":{"name":"Ace Pin","desc":"In a round, be the best player.","count":41},"20":{"name":"Gold Squad Pin","desc":"In a round, be part of the best squad.","count":137},"21":{"name":"Nemesis Pin","desc":"In a round, kill an enemy 5 times.","count":45},"22":{"name":"Payback! Pin","desc":"In a round, kill your nemesis.","count":3},"23":{"name":"Squad Member Pin","desc":"In a round, obtain one attack and one defend order.","count":10},"24":{"name":"Wheels of Hazard Pin","desc":"In a round, do 3 roadkills with any vehicle.","count":1},"25":{"name":"Car Warfare Pin","desc":"In a round, kill 4 enemies with cars.","count":0},"26":{"name":"Tank Warfare Pin","desc":"In a round, kill 7 enemies with tanks.","count":8},"27":{"name":"Naval Warfare Pin","desc":"In a round, kill 4 enemies with sea vehicles.","count":0},"28":{"name":"Air Warfare Pin","desc":"In a round, kill 5 enemies with air vehicles.","count":2},"29":{"name":"M-Com Attacker Pin","desc":"In a round, blow up 4 M-COM stations.","count":3},"30":{"name":"M-Com Defender Pin","desc":"In a round, defend 4 M-COM stations.","count":77},"31":{"name":"Rush Winner Pin","desc":"Win a Rush round.","count":79},"32":{"name":"Conquest Winner Pin","desc":"Win a Conquest round.","count":141},"33":{"name":"Squad Deathmatch Winner Pin","desc":"In a Squad Deathmatch round.","count":12},"34":{"name":"Squad Rush Winner Pin","desc":"Win a Squad Rush round.","count":3},"35":{"name":"Flag Attacker Pin","desc":"In a round, capture 4 flags.","count":34},"36":{"name":"Flag Defender Pin","desc":"In a round, defend 4 flags.","count":1},"37":{"name":"Resupply Ops Pin","desc":"In a round, do 7 resupplies.","count":100},"38":{"name":"Surveillance Ops Pin","desc":"In a round, do 5 motion mine assists.","count":1},"39":{"name":"Medical Ops Pin","desc":"In a round, do 5 revives.","count":27},"40":{"name":"Maintenance Ops Pin","desc":"In a round, do 7 repairs.","count":93}},"insignias":{"01":{"name":"Elite Marksman Combat","desc":"500 headshots.","requirements":{"c_i01___hsh_g":{"has":500,"needs":500}},"count":0},"02":{"name":"Distinguished Sidearm Combat","desc":"100 kills with pistols.","requirements":{"c_i02_hg__kw_g":{"has":100,"needs":100}},"count":0},"03":{"name":"Distinguished Grenade Combat","desc":"100 kills with grenades.","requirements":{"c_i03_hgr__kw_g":{"has":96,"needs":100}},"count":0},"04":{"name":"Distinguished Melee Combat","desc":"100 Kills with the knife.","requirements":{"c_i04_mel__kw_g":{"has":100,"needs":100}},"count":0},"05":{"name":"Elite Melee Combat","desc":"200 kills with the knife.","requirements":{"c_i05_mel__kw_g":{"has":200,"needs":200}},"count":0},"06":{"name":"Distinguished Anti-Vehicle Combat","desc":"500 Vehicles destroyed.","requirements":{"c_i06___d_g":{"has":160,"needs":500}},"count":0},"07":{"name":"Long Service Assault Weapons Combat","desc":"500 kills with assault rifles.","requirements":{"c_i07_ass__kw_g":{"has":500,"needs":500}},"count":0},"08":{"name":"Long Service Support Weapons Combat","desc":"500 kills with lightmachine guns.","requirements":{"c_i08_sup__kw_g":{"has":500,"needs":500}},"count":0},"09":{"name":"Anti Vehicle Combat","desc":"200 vehicle damages.","requirements":{"c_i09___vd_g":{"has":144,"needs":200}},"count":0},"10":{"name":"Long Service Radio Warfare","desc":"100 tracer plants.","requirements":{"c_i10___tag_g":{"has":68,"needs":100}},"count":0},"11":{"name":"Distinguished Retaliation Combat","desc":"5 nemesis pins, 5 payback pins.","requirements":{"c_i11___kn_g":{"has":3,"needs":5},"c_i11___nik_g":{"has":8,"needs":5}},"count":0},"12":{"name":"Exemplary Marksman Combat","desc":"100 sniper rifle marksman headshots.","requirements":{"c_i12_re_rec_lrh_g":{"has":77,"needs":100}},"count":0},"13":{"name":"Distinguished Remote Explosives Combat","desc":"100 C4 kills.","requirements":{"c_i13_c4__kw_g":{"has":35,"needs":100}},"count":0},"14":{"name":"Long Service Sniping Weapons Combat","desc":"500 kills with sniper rifles.","requirements":{"c_i14_rec__kw_g":{"has":360,"needs":500}},"count":0},"15":{"name":"Long Service Tactical Weapons Combat","desc":"500 kills with shotguns.","requirements":{"c_i15_dem__kw_g":{"has":334,"needs":500}},"count":0},"16":{"name":"Long Service Medical Ops","desc":"100 heals.","requirements":{"c_i16___h_g":{"has":100,"needs":100}},"count":1},"17":{"name":"Long Service Resupply Ops","desc":"100 resuplies.","requirements":{"c_i17___res_g":{"has":100,"needs":100}},"count":1},"18":{"name":"Long Service Surveilance Ops","desc":"100 motion mine spot assists.","requirements":{"c_i18___msa_g":{"has":26,"needs":100}},"count":0},"19":{"name":"Long Service Maintenance Ops","desc":"100 repairs.","requirements":{"c_i19___r_g":{"has":100,"needs":100}},"count":1},"20":{"name":"Combat Veteran","desc":"5000 kills.","requirements":{"c_i20___ko_g":{"has":3959,"needs":5000}},"count":0},"21":{"name":"Distinguished Combat Efficiency","desc":"50 Combat Efficiency Pins.","requirements":[],"count":1},"22":{"name":"Distinguished Combat Excellence","desc":"50 Combat Excellence Pins.","requirements":[],"count":0},"23":{"name":"Long Service Light Weapons Combat","desc":"500 kills with submachine guns.","requirements":{"c_i23_spe__kw_g":{"has":307,"needs":500}},"count":0},"24":{"name":"Distinguished Explosives Combat","desc":"100 kills using mines.","requirements":{"c_i24_atm__kw_g":{"has":2,"needs":100}},"count":0},"25":{"name":"Elite Multiple Target Combat","desc":"Get 50 double kills.","requirements":{"c_i25___dok_g":{"has":50,"needs":50}},"count":1},"26":{"name":"Distinguished Marksman Combat","desc":"Get 100 headshots.","requirements":{"c_i26___hsh_g":{"has":100,"needs":100}},"count":1},"27":{"name":"Superior Service Duty","desc":"Played online for 1 day","requirements":{"c_i27___sa_g":{"has":86404.98,"needs":86400}},"count":1},"28":{"name":"Distinguished Service Duty","desc":"Played online for 2 days","requirements":{"c_i28___sa_g":{"has":172800.45,"needs":172800}},"count":1},"29":{"name":"Elite Service Duty","desc":"Played online for 5 days","requirements":{"c_i29___sa_g":{"has":310378.88,"needs":432000}},"count":0},"30":{"name":"Conquest Good Conduct","desc":"100 flag captures.","requirements":{"c_i30___fc_g":{"has":100,"needs":100}},"count":1},"31":{"name":"Rush Good Conduct","desc":"Destroy 100 M-COM Stations.","requirements":{"c_i31___bd_g":{"has":42,"needs":100}},"count":0},"32":{"name":"Exemplary Weapon Service","desc":"Get all weapon pins","requirements":[],"count":0},"33":{"name":"Exemplary Combat Service","desc":"Get all combat pins","requirements":[],"count":1},"34":{"name":"Exemplary Vehicle Service","desc":"Get all vehicle pins","requirements":[],"count":0},"35":{"name":"Elite Service","desc":"Get all pins","requirements":[],"count":0},"36":{"name":"Distinguished Weapon Knowledge","desc":"Get all weapon bronze stars","requirements":[],"count":0},"37":{"name":"Distinguished Vehicle Knowledge","desc":"Get all vehicle bronze stars","requirements":[],"count":0},"38":{"name":"Distinguished Artiillery Combat","desc":"100 kills using mortar strike","requirements":{"c_i38_mst__kw_g":{"has":30,"needs":100}},"count":0},"39":{"name":"Distinguished Battlefield Knowledge","desc":"Get all bronze stars","requirements":[],"count":0},"40":{"name":"Exemplary Battlefield Knowledge","desc":"Get 10 silver stars","requirements":[],"count":1},"41":{"name":"Elite Battlefield Knowledge","desc":"Get 5 gold stars","requirements":[],"count":1},"42":{"name":"Valorous Battlefield Knowledge","desc":"Get 2 platinum stars","requirements":[],"count":0},"43":{"name":"Squad Combat Assistance","desc":"100 squad assists.","requirements":{"c_i43___sqs_g":{"has":100,"needs":100}},"count":1},"44":{"name":"Squad Resupply Ops","desc":"100 squad resuplies.","requirements":{"c_i44___sqres_g":{"has":100,"needs":100}},"count":1},"45":{"name":"Squad Repair Ops","desc":"100 squad repairs.","requirements":{"c_i45___sqrep_g":{"has":100,"needs":100}},"count":1},"46":{"name":"Squad Medical Ops","desc":"50 squad heals and 50 squad revives.","requirements":{"c_i46___sqh_g":{"has":54,"needs":50},"c_i46___sqrev_g":{"has":50,"needs":50}},"count":1},"47":{"name":"Squad Surveillence Ops","desc":"50 squad motion mine spot assists.","requirements":{"c_i47___sqmsa_g":{"has":6,"needs":50}},"count":0},"48":{"name":"Squad Tactical Ops","desc":"200 squad spawns on you.","requirements":{"c_i48___ss_g":{"has":200,"needs":200}},"count":1},"49":{"name":"Squad Retaliation Ops","desc":"20 squad avenges and 20 squad kill assists","requirements":{"c_i49___sqa_g":{"has":20,"needs":20},"c_i49___sqs_g":{"has":58,"needs":20}},"count":1},"50":{"name":"Squad Teamwork Ops","desc":"20 squad defend orders and 20 squad attack orders","requirements":{"c_i50___sqaob_g":{"has":20,"needs":20},"c_i50___sqdob_g":{"has":20,"needs":20}},"count":1}}});
They both work now. Probably a temporary query error (the servers at EA are entirely unreliable and each "player" requires about 10 unique requests...)
Also, when loading those pages, make sure to do a forced refresh (hold shift, click refresh icon)
Also, when loading those pages, make sure to do a forced refresh (hold shift, click refresh icon)
I got a formatter working for it now so it's more human readable.Miggle wrote:
it's just a line of info. Is it supposed to be like that?
nm, all works now.chuyskywalker wrote:
Examples?Cheez wrote:
k, so it works with underscores, and isn't case sensitive.
so far only lowercase with jsonp works however.
Btw, can you track dogtags?
My state was founded by Batman. Your opinion is invalid.
Sadly, no. Other sites that have that information are getting it in a way which is frowned upon.
i thought the programmers on the forum would like this;
They forgot the function drink_booze_and_beat()
Too bad the BC2 awards look awful compared to BF2.
sameAussieReaper wrote:
Was all I saw.Code:
api.bfbc2s.net http://api.bfbc2s.net/api/{ps3|xbox|pc}/{playerName}.{json|jsonp} Updates processed (usually) within 5 minutes of initial request. Existing stats only updated once every 24 hours, and only if actively utilized.
same.blademaster wrote:
sameAussieReaper wrote:
Was all I saw.Code:
api.bfbc2s.net http://api.bfbc2s.net/api/{ps3|xbox|pc}/{playerName}.{json|jsonp} Updates processed (usually) within 5 minutes of initial request. Existing stats only updated once every 24 hours, and only if actively utilized.
And then I plugged in my info and nothing happened
http://api.bfbc2s.net/api/pc/MattyBoy714.json ?