{"id":29890015,"url":"https://github.com/opsmatters/wistia-api","last_synced_at":"2025-07-31T22:23:25.637Z","repository":{"id":50047477,"uuid":"200436031","full_name":"opsmatters/wistia-api","owner":"opsmatters","description":"Wistia Java v1 API","archived":false,"fork":false,"pushed_at":"2021-06-05T16:14:57.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-21T23:53:49.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/opsmatters.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":"2019-08-04T01:15:59.000Z","updated_at":"2021-06-05T16:14:59.000Z","dependencies_parsed_at":"2022-08-28T21:23:37.647Z","dependency_job_id":null,"html_url":"https://github.com/opsmatters/wistia-api","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/opsmatters/wistia-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsmatters%2Fwistia-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsmatters%2Fwistia-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsmatters%2Fwistia-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsmatters%2Fwistia-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opsmatters","download_url":"https://codeload.github.com/opsmatters/wistia-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsmatters%2Fwistia-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268126588,"owners_count":24200290,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"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":"2025-07-31T22:23:21.465Z","updated_at":"2025-07-31T22:23:25.623Z","avatar_url":"https://github.com/opsmatters.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Java Wistia API v1.\nTo use this api you’ll first need to obtain an API key from Wistia:\n\nhttps://wistia.com/support/developers/data-api\n\nThe generated token is all you need to use the Java Wistia API.\n\n```java\n\npackage com.opsmatters.wistia;\n\nimport java.io.File;\nimport org.json.JSONObject;\nimport org.json.JSONArray;\n\npublic class WistiaTest\n{\n    public static void main(String[] args) throws Exception\n    {\n        Wistia wistia = new Wistia(\"\u003cAPI-token\u003e\"); \n\n        // List videos\n        {\n            WistiaResponse result = wistia.get(\"/medias.json\");\n            JSONArray items = result.getJsonArray();\n            if(items != null \u0026\u0026 items.length() \u003e 0)\n            {\n                for(int i = 0; i \u003c items.length(); i++)\n                {\n                    JSONObject item = items.getJSONObject(i);\n                    System.out.println(item.optString(\"name\"));\n                }\n            }\n        }\n    \n        // Get video details\n        String hashedId = \"x123456y\";\n        WistiaResponse result = wistia.get(String.format(\"/medias/%s.json\", hashedId));\n        JSONObject item = result.getJson();\n        System.out.println(item.optString(\"name\"));\n    }\n}\n\n\n```\n\nThe class WistiaResponse provides a response code and JSON response, see the Wistia API documentation in case of errors.\n\n### Use with Maven\n\n```xml\n\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.opsmatters\u003c/groupId\u003e\n  \u003cartifactId\u003ewistia-api\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsmatters%2Fwistia-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopsmatters%2Fwistia-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsmatters%2Fwistia-api/lists"}