@@ -0,0 +1,1154 @@
+#!/usr/bin/env python%0A%0A%22%22%22trophies.py is a simple program to obtain a user's list of trophies.%0A%0AThis program demonstrates the use of %60%60prawcore.ReadOnlyAuthorizer%60%60 that does%0Anot require an access token to make authenticated requests to reddit.%0A%0A%22%22%22%0Aimport os%0Aimport prawcore%0Aimport sys%0A%0A%0Adef main():%0A    %22%22%22main is the program's entry point when directly executed.%22%22%22%0A    if len(sys.argv) != 2:%0A        print('Usage: %7B%7D USERNAME'.format(sys.argv%5B0%5D))%0A        return 1%0A%0A    authenticator = prawcore.Authenticator(%0A        os.environ.get('PRAWCORE_CLIENT_ID'),%0A        os.environ.get('PRAWCORE_CLIENT_SECRET'))%0A    authorizer = prawcore.ReadOnlyAuthorizer(authenticator)%0A    authorizer.refresh()%0A%0A    user = sys.argv%5B1%5D%0A    url = 'https://oauth.reddit.com/api/v1/user/%7B%7D/trophies'.format(user)%0A    with prawcore.session(authorizer) as session:%0A        data = session.request('GET', url)%0A%0A    for trophy in data%5B'data'%5D%5B'trophies'%5D:%0A        description = trophy%5B'data'%5D%5B'description'%5D%0A        print(trophy%5B'data'%5D%5B'name'%5D +%0A              (' (%7B%7D)'.format(description) if description else ''))%0A%0A    return 0%0A%0A%0Aif __name__ == '__main__':%0A    sys.exit(main())%0A

Add more complete trophies.py example.