Jump to content

Ryan Bentley

VATSIM Developer
  • Content Count

    45
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Ryan Bentley

  1. Viewing all of the members in your region, division, subdivision divdb replacement Issue a GET request to one of these URLS: https://api.vatsim.net/api/regions/<region_id>/members/ https://api.vatsim.net/api/divisions/<division_id>/members/ https://api.vatsim.net/api/subdivisions/<subdivision_id>/members/ You must have the correct token permissions to use these endpoints. Returned Response: JSON object containing the following fields: id, rating, pilotrating, name_first, name_last, age, countystate, country, susp_date, reg_date, region, division, subd
  2. You can try a Virtual Airline that accepts newbies or a newbie friendly group. Check out these forums: https://forums.vatsim.net/forum/319-virtual-airlines/ https://forums.vatsim.net/forum/356-groups/
  3. Yep, if you read the discussion above, we are already aware of the issue.
  4. I will add this within the next couple of days for you. I'll post in the changelog thread when that is done.
  5. Is rating_times not suitable for you? https://api.vatsim.net/api/ratings/1475625/rating_times/
  6. There's currently an issue where the appropriate hours are not being correctly attributed. The stats website gathers this data in a different way, which is why there is a discrepancy. I've raised this issue with the appropriate folks, I will post an update in the API changelog thread when it has been resolved. If you follow the thread, you will receive an e-mail notification.
  7. Added those fields for you. It will be included in the next update (sometime within 24 hours)
  8. VATSIM API Update 12/04/2020 API users with the correct role can now append comments to a users profile (add_comment) A comment is automatically appended to a members profile when update_via_division is called. The message includes the fields which have been updated.
  9. Add Comment Append a comment to a members profile If you have a token with the add_comment role: Issue a POST request to https://api.vatsim.net/api/ratings/$CID/add_comment/ Accepts: JSON with the following optional fields: rating, subdivision comment (str) type (int) Valid Types: [8, 9, 10, 12, 14, 15, 17, 18, 21] Example: curl -X POST -H "Content-Type: application/json" -H "Authorization: Token 7796bdb6b0be14ccf3f147036e133f1719d4712b" "https://api.vatsim.net/api/ratings/1475625/add_comment/" -d "{ "comment": "Test Comment", "type": 3 }"
  10. We've removed the filters but unfortunately it can't be retroactively applied to posts. Existing posts will have to be manually edited to fix.
  11. Thanks for pointing this out. We are rebuilding the search index now.
  12. The old forums were on a very old version of phpBB which is no longer maintained. An upgrade was necessary, the decision was taken to use IPB instead of further upgrading phpBB. Upgrading phpBB to the latest version is as big a change as migrating to IPB, as both versions of phpBB are very different. IPB was chosen over phpBB because it's modern, we have people on the team experienced with maintaining it and making changes to the theme, etc.
  13. I can add the ability to add and view comments, if you have the correct role. As far as getting the role, you're best contacting @Matthew Cianfarani to see if the token you have should have that role. In the next update for the API, comments will automatically be added to a users profile if their rating or subdivision (or any future fields) are modified.
  14. Visit https://forums.vatsim.net/settings/signature/ to update your signature.
  15. Watch this thread - Select "Follow" in the top-right to receive e-mail updates when the VATSIM API changes
  16. Updating User ratch.php replacement If you have a token with division roles: Issue a PATCH request to https://api.vatsim.net/api/ratings/$CID/ Accepts: JSON with the following optional fields: rating (int) division (str) subdivision (str) Fields are available based on what type of token access you have been given. Example: curl -X POST -H "Content-Type: application/json" -H "Authorization: Token 7796bdb6b0be14ccf3f147036e133f1719d4712b" "https://api.vatsim.net/api/ratings/1475625/" -d "{ "subdivision": "SCA" }" Example Response: {"status"
  17. Viewing the details of a user. Time spent on ATC positions, last connections, member details. idstatusint.php replacement Issue a GET request to https://api.vatsim.net/api/ratings/$CID/ or https://api.vatsim.net/api/ratings/$CID/rating_times/ OR https://api.vatsim.net/api/ratings/$CID/connections/ Returned Response: JSON object containing the following fields: id, rating, pilotrating, name_first, name_last, age, countystate, country, susp_date, reg_date, region, division, subdivision Example: curl -H 'Accept: application/json; indent=4' "https://api.vatsim.net/api/rat
  18. What is VATSIM API? VATSIM API (https://api.vatsim.net/api/) is a replacement of the old CERT API & AutoTools. It's a set of RESTful JSON endpoints designed to replace the following AutoTools / CERT API endpoints idstatusint, idstatusprev, idstatusrat ratch.php divdbwfullpilot divdb rating.php vaccdb In time, as development progresses and once users have migrated to this new service, AutoTools & CERT API will be deprecated. We offer a Swagger browser and some examples are available below. Using Swagger is the best way to learn about a
×
×
  • Create New...