-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get the token and id? #4
Comments
Hello @Lay4949 ! Thanks for your interest in this repository! To use the Mapillary API, you have to create an account on the Mapillary platform, and then register an application that will be automatically assigned a token. This is the token that the scripts expect to have configured so that they are "allowed" to talk to the Mapillary API. I suggest that you go through this section of the Mapillary documentation (link), which will shed some light on the steps to follow! Let me know if you need to have further help after reading the above! Assigning this ticket back to you for visibility :) Thanks, |
hey @Lay4949 please don't send your token publicly, one can use it to do things on your name... In the specific case of mapillary I don't think that there's really bad things that could be done with it... It is a general security measure, because the token is the authorization for your account for the API, as your login/password is for the platform |
Hey @Lay4949 , As @kauevestena pointed out (and thank you very much for that!), it is better to avoid having your token publicly available. I initially edited the comment, but the edit history is still public, so I eventually deleted it! Sorry about that, this is just as a pre-caution for you! :) Will get back to you with a response soon! Thanks a lot both of you! George |
Hello,@gchoumos. Is there anything wrong with my operation to get the token? It doesn't seem to return the information it should have. The following is what I used: |
Hello @Lay4949 ! Is this an error that occurs through running any of the scripts provided in this repository? Or is this a standalone curl command that you are attempting to run? Normally, if you configure your If you are running a standalone curl, and not through the scripts, it will be a bit difficult for me to support you. Could you try doing this through the scripts, and by setting the "MLY" token in settings? It is the SETTINGS = {
...
'img_meta_out_file': 'img_meta_dataset.csv', # images with metadata
'detections_out_file': 'img_detections_dataset.csv', # detections of images
'token': 'MLY|1234567890123456|1234567890abcdef1234567890abcdef', <<<<<< Change this!
'min_zoom': 13,
... Hope that helps :) George |
Thank you very much for reminding me. |
Sorry, I haven't got access_token yet. What I'm doing now is calls the token endpoint with the authorization code to exchange for the user access token. |
Hello,I am a student. I want to know how to get the token and org_id.Thank you so much!
The text was updated successfully, but these errors were encountered: