Display the OA ID instead of UserId for GitHub.
It will replace all the UserId in the github webpages with the OA ID, and you should configure the OA ID query api at first.
Configuration:
1. API URL:
This extension will query this api to get the OA ID. The Github ID will be appended to URL, and using the GET method to fetch the result.
2. API Type:
Plain Text - return the OA ID directly in the response text, may be surrounded by double quotation marks (" ").
JSON - return information by the JSON format, may be JSON object.
3. JSON Path (* for JSON Api Type):
If API Type is JSON, the JSON Path must be configuired. 'jsonpath-plus' is used to fetch the JSON object's field with this item.
4 Api Request Header Name (leave it blank if not neccesory):
5 Api Request Header Value (leave it blank if not neccesory):
If specified, will append it to the api request.
For Example: replace the github login-id by the github username
API URL: https://api.github.com/users/
API Type: JSON
JSON Path: $.name
Header Name: Authorization
Header Value: token ghp_<blabla>