{"id":21291837,"url":"https://github.com/fallibleinc/ownercheck","last_synced_at":"2026-01-02T08:13:00.560Z","repository":{"id":52271983,"uuid":"67116947","full_name":"FallibleInc/ownercheck","owner":"FallibleInc","description":" Verify ownership of domains and mobile apps","archived":false,"fork":false,"pushed_at":"2023-05-22T21:34:25.000Z","size":84,"stargazers_count":23,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-25T23:47:09.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/ownercheck/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FallibleInc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-01T09:19:55.000Z","updated_at":"2022-06-13T16:25:56.000Z","dependencies_parsed_at":"2022-09-01T22:12:08.047Z","dependency_job_id":null,"html_url":"https://github.com/FallibleInc/ownercheck","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallibleInc%2Fownercheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallibleInc%2Fownercheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallibleInc%2Fownercheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallibleInc%2Fownercheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FallibleInc","download_url":"https://codeload.github.com/FallibleInc/ownercheck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762227,"owners_count":20343972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-21T13:46:21.778Z","updated_at":"2026-01-02T08:13:00.532Z","avatar_url":"https://github.com/FallibleInc.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Ownercheck\n\n[![Travis](https://img.shields.io/travis/FallibleInc/ownercheck.svg?maxAge=2592000)](https://github.com/FallibleInc/ownercheck)\n\n`ownercheck` can be used to verify ownership of domains and mobile apps hosted on Android Play store or iOS app store. Domains can be verified by either adding a DNS record (CNAME or a TXT record) or by adding content to the existing website(a meta tag or uploading an empty file with the specified name). Mobile apps can be verified by checking the corresponding app page on app store for mention of user's verified domain in developers section of the page. \n\nThe library uses SQLite to store and match generated verification codes, which can be easily swapped with any database backend you use (check db.py, need to make it configurable later).\n\n#### Installation\n\n``` bash\npip install ownercheck\n````\n\n#### Running tests\n\n````\npip install tox \ntox\n````\n\n\n#### How to use\n\n##### Verify domain ownership\n\n###### User has access to the domain DNS settings\n\n``` python\nimport ownercheck\n\nownercheck.generate_code('example.com', 'CNAME') \n# Now proceed to add a DNS entry for CNAME\nownercheck.verify_domain('example.com', 'CNAME')\n```\n\n###### User has access to the content hosted on the domain\n\n``` python\nimport ownercheck\n\nownercheck.generate_code('example.com', 'METATAG') \n# Now proceed to add meta tag in your index.html as directed\nownercheck.verify_domain('example.com', 'METATAG') # returns a bool\n```\n\n\n##### Fetch mobile app links from domain\n\n``` python\nimport ownercheck\n\nownercheck.fetch_apps(domain) \n# Do not use this for mobile apps verification. A malacious user can link to apps they do not own.\n# Get all the link to apps on a page and then use ownercheck.verify_app instead.\n```\n\n\n##### Verify ownership of mobile apps on Play/App Store \n\n``` python\nimport ownercheck\n\napp_url = '' # Your Play store or App store published app URL    \ndomain = '' # Your domain related to the app    \n\nownercheck.verify_app(app_url, domain)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallibleinc%2Fownercheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffallibleinc%2Fownercheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallibleinc%2Fownercheck/lists"}