I came across StackExchange API V2 unread notifications method and though of creating a small cli script which on execution will give me the unread notification count. Now, according to the docs this method requires authentication(access token)
to fetch the data.
After reading authentication docs I found that one needs certain parameters like client_id
to complete the implicit OAuth 2.0 flow
.
I tried registering app at stackapps.com
but it requires OAuth Domain, Application Website
which I don't have.
So, what is the simplest way to get access_token
to read users inbox for unread notification count.