{"id":17321158,"url":"https://github.com/lambda-fairy/nationstates","last_synced_at":"2026-01-18T09:01:44.964Z","repository":{"id":33915994,"uuid":"37634859","full_name":"lambda-fairy/nationstates","owner":"lambda-fairy","description":":earth_americas: NationStates API client for Haskell","archived":false,"fork":false,"pushed_at":"2015-12-13T05:23:01.000Z","size":125,"stargazers_count":4,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-14T06:53:36.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lambda.xyz/nationstates/","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lambda-fairy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-18T03:21:59.000Z","updated_at":"2016-08-20T02:02:02.000Z","dependencies_parsed_at":"2022-09-09T09:21:02.530Z","dependency_job_id":null,"html_url":"https://github.com/lambda-fairy/nationstates","commit_stats":null,"previous_names":["lfairy/nationstates"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/lambda-fairy/nationstates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Fnationstates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Fnationstates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Fnationstates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Fnationstates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambda-fairy","download_url":"https://codeload.github.com/lambda-fairy/nationstates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Fnationstates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-15T13:35:32.631Z","updated_at":"2026-01-18T09:01:44.928Z","avatar_url":"https://github.com/lambda-fairy.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NationStates for Haskell [![Build Status](https://api.travis-ci.org/lfairy/nationstates.svg)](https://travis-ci.org/lfairy/nationstates)\n\n[NationStates] is an online government simulation game, created by Max Barry. The site generates a wealth of data, some of which can be accessed through its [official API].\n\nThis library lets you query this API using the Haskell programming language.\n\n[NationStates]: https://nationstates.net\n[official API]: https://www.nationstates.net/pages/api.html\n\n\n## Features\n\n* **Type safe**: you can't refer to a shard unless you explicitly request it.\n\n* **Automatic rate limiting**, which can be disabled or overridden if you want.\n\n* **HTTPS support** via the [tls] library.\n\n* **Free and open source** under the Apache License, version 2.0.\n\n[tls]: https://hackage.haskell.org/package/tls\n\n\n## Dependencies\n\n* GHC 7.6 or newer\n\n\n## Installation\n\n`nationstates` is hosted on [Hackage].\n\n    cabal install nationstates\n\n[Hackage]: https://hackage.haskell.org/package/nationstates\n\n\n## Example\n\n```haskell\nimport NationStates\nimport qualified NationStates.Nation as Nation\nimport Text.Printf\n\nmain = do\n    c \u003c- newContext \"ExampleBot/2000\"\n    (name, motto) \u003c- Nation.run \"Montesardo-East Adanzi\" shards c\n    printf \"%s has the motto: %s\\n\" name motto\n  where\n    shards = (,) \u003c$\u003e Nation.name \u003c*\u003e Nation.motto\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambda-fairy%2Fnationstates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambda-fairy%2Fnationstates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambda-fairy%2Fnationstates/lists"}