{"id":17057992,"url":"https://github.com/chimeracoder/pysq-dev","last_synced_at":"2026-04-13T18:01:54.794Z","repository":{"id":144602072,"uuid":"1938296","full_name":"ChimeraCoder/Pysq-dev","owner":"ChimeraCoder","description":"Python wrapper for Foursquare","archived":false,"fork":false,"pushed_at":"2011-07-12T05:08:36.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T07:42:18.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChimeraCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-22T23:02:10.000Z","updated_at":"2021-08-13T09:08:09.000Z","dependencies_parsed_at":"2023-03-22T01:30:14.965Z","dependency_job_id":null,"html_url":"https://github.com/ChimeraCoder/Pysq-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChimeraCoder/Pysq-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2FPysq-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2FPysq-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2FPysq-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2FPysq-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChimeraCoder","download_url":"https://codeload.github.com/ChimeraCoder/Pysq-dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2FPysq-dev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T10:28:36.658Z","updated_at":"2026-04-13T18:01:54.773Z","avatar_url":"https://github.com/ChimeraCoder.png","language":"Python","readme":"Pysq\n=========\n\nIntroduction\n-------------\n\nPysq is an unofficial wrapper for version 2 of the Foursquare API. It was developed on Python 2.7 on a Linux machine, though it should work on Python 2.6 and on other platforms.\n\n\n\nUse\n-----------\n\nPysq provides a wrapper for authentication through OAuth. First, register your application on the Foursquare developer homepage to receive your client_id and client_secret values. Then, authenticate using the FSAuthenticator class. (Note that redirect_uri is the uri for your application, which you register with Foursquare).\n\n\u003e authenticator = FSAuthenticator(client_id, client_secret, redirect_uri)\n\n\n\nThen, redirect your user to the uri that the FSAuthenticator object generates:\n\n\u003e uri = authenticator.authorize_uri()\n\nThe user will sign in with his/her Foursquare credentials, and Foursquare will redirect back to your registered page (redirect_uri), with a code passed as a GET parameter. Retrieve this code and pass it in to the set_token method:\n\n\u003e authenticator.set_token(code)\n\nYou are now ready to begin making queries that this user is authorized to make!\n\n\nQuerying Users\n--------------\n\nTo obtain a User object, use the UserFinder object.\n\n\u003e finder = UserFinder(authenticator)\n\n\u003e my_user = finder.findUser(id)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimeracoder%2Fpysq-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchimeracoder%2Fpysq-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimeracoder%2Fpysq-dev/lists"}