On 23.05.2015, at 15:27, andrew goh <[email protected]> wrote: > by the way is there a way i can insert myself in the leaderboard through the > API? https://location.services.mozilla.com/leaders
Yes. When you submit data, you simply have to add one additional HTTP header to the submission: X-Nickname: yournick The nickname must be at least 3 characters and should not exceed 40 characters. You can try to use Unicode and send an UTF-8 encoded header, but most likely only ASCII works. We've been meaning to rewrite the leaderboard system for a long while, currently Garvan and Victor are working on the next attempt. So this one-header API may change soon enough. For now it works though. Hanno _______________________________________________ dev-geolocation mailing list [email protected] https://lists.mozilla.org/listinfo/dev-geolocation
