{"id":43916815,"url":"https://github.com/zooniverse/panoptes-net-client","last_synced_at":"2026-02-06T21:34:46.479Z","repository":{"id":33275577,"uuid":"134595157","full_name":"zooniverse/panoptes-net-client","owner":"zooniverse","description":"A .NET client for accessing the Panoptes API","archived":false,"fork":false,"pushed_at":"2022-12-08T01:21:08.000Z","size":74,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-09-25T05:29:44.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/zooniverse.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":"2018-05-23T16:08:46.000Z","updated_at":"2021-10-05T17:24:38.000Z","dependencies_parsed_at":"2023-01-15T00:18:05.428Z","dependency_job_id":null,"html_url":"https://github.com/zooniverse/panoptes-net-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zooniverse/panoptes-net-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooniverse%2Fpanoptes-net-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooniverse%2Fpanoptes-net-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooniverse%2Fpanoptes-net-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooniverse%2Fpanoptes-net-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zooniverse","download_url":"https://codeload.github.com/zooniverse/panoptes-net-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooniverse%2Fpanoptes-net-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29177553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T20:14:21.878Z","status":"ssl_error","status_checked_at":"2026-02-06T20:14:21.443Z","response_time":59,"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":"2026-02-06T21:34:46.416Z","updated_at":"2026-02-06T21:34:46.474Z","avatar_url":"https://github.com/zooniverse.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Panoptes .NET Client\nA .NET client for accessing the Panoptes API\n\n## General\nThis repo contains three projects: a `ConsoleApp` (to test calls while developing), the `PanoptesNetClient`, and a separate `PanoptesNetClientTests` project to cover testing.\n\n## Requirements\nIn order to run this client, an app must have a config transform with two config files (debug and release) to account for the Config class calling the `ConfigurationManager`.\n\nIn this repo, the `ConsoleApp` contains an example of how config files should be set up to run the client (`App.Debug.config` and `App.Release.Config`).  \nEx: `\u003cadd key=\"Environment\" value=\"Debug\" xdt:Transform=\"Replace\" xdt:Locator=\"Match(key)\" /\u003e`\n\nEach config file should contain four keys: `Environment`, `ApiHost`, `ApplicationId`, and `StatsHost`. Note: these keys should also be contained in the main `App.Config` as empty strings.\n\n## NuGet?\nThe Panoptes [.NET client](https://www.nuget.org/packages/PanoptesNetClient) is hosted on NuGet, which is a package manager for the Microsoft development platform. Should you need to publish any changes on NuGet, Microsoft has a nice [guide](https://docs.microsoft.com/en-us/nuget/nuget-org/publish-a-package) on how to publish. There's also some more detailed information [here](https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools) on getting the NuGet cli set up.\n\nIf this API key is expired, you'll need to regenerate a new API key by [logging into](https://www.nuget.org/account/ApiKeys) the NuGet account using the Zooniverse Microsoft credentials. Once you're in, you can regenerate a new key and use that key to push changes to NuGet.\n\n## Making a Request\n\n### GET\n\nA GET request can be made a couple different ways, depending on the return value and need to send a query.  \n`ApiClient client = new ApiClient();`\n\nGet a single resource:  \n`Workflow workflow = await client.Workflows.Get(\"1234\");`\n\nGet a list of queued subjects for a project:\n```\nNameValueCollection query = new NameValueCollection();\nquery.Add(\"workflow_id\", \"1234\");\nList\u003cSubject\u003e subjects = await client.Subjects.GetList(\"queued\", query);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzooniverse%2Fpanoptes-net-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzooniverse%2Fpanoptes-net-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzooniverse%2Fpanoptes-net-client/lists"}