{"id":37861388,"url":"https://github.com/meplato/store2-java-client","last_synced_at":"2026-01-16T16:32:14.681Z","repository":{"id":36174605,"uuid":"40478724","full_name":"meplato/store2-java-client","owner":"meplato","description":"Java client for Meplato Store 2","archived":false,"fork":false,"pushed_at":"2025-11-12T12:38:29.000Z","size":369,"stargazers_count":1,"open_issues_count":9,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-12T14:30:02.320Z","etag":null,"topics":["java","meplato","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meplato.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-08-10T11:20:26.000Z","updated_at":"2025-11-12T12:38:32.000Z","dependencies_parsed_at":"2024-08-02T06:29:11.693Z","dependency_job_id":"d8f53b56-6c0b-498f-bc7f-cafb20de38a0","html_url":"https://github.com/meplato/store2-java-client","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/meplato/store2-java-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meplato%2Fstore2-java-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meplato%2Fstore2-java-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meplato%2Fstore2-java-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meplato%2Fstore2-java-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meplato","download_url":"https://codeload.github.com/meplato/store2-java-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meplato%2Fstore2-java-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["java","meplato","rest-api"],"created_at":"2026-01-16T16:32:14.592Z","updated_at":"2026-01-16T16:32:14.670Z","avatar_url":"https://github.com/meplato.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meplato Store 2.0 API for Java\n\n[![Test](https://github.com/meplato/store2-java-client/actions/workflows/test.yml/badge.svg)](https://github.com/meplato/store2-java-client/actions/workflows/test.yml)\n[![Deploy Snapshot](https://github.com/meplato/store2-java-client/actions/workflows/deploy-snapshot.yml/badge.svg)](https://github.com/meplato/store2-java-client/actions/workflows/deploy-snapshot.yml)\n[![Deploy Release](https://github.com/meplato/store2-java-client/actions/workflows/deploy-release.yml/badge.svg)](https://github.com/meplato/store2-java-client/actions/workflows/deploy-release.yml)\n\nThis is the Java client for the Meplato Store 2 API. It helps you write\nsoftware to integrate into the Meplato suite for suppliers.\n\n## Prerequisites\n\nYou need at two things to use the Meplato Store 2 API.\n\n1. A login to Meplato Store 2.\n2. An API token.\n\nGet your login by contacting Meplato Supplier Network Services. The API token\nis required to securely communicate with the Meplato Store 2 API. You can\nfind it in the personalization section when logged into Meplato Store.\n\n## Getting started\n\nAll functionality in the client is separated into services. So you first\nneed to create and initialize a service, then set its parameters, and finally\nexecute it. Here's an example of how to retrieve the list of catalogs for\nyour Meplato Store account.\n\n```java\nimport com.meplato.store2.ApacheHttpClient;\nimport com.meplato.store2.Client;\nimport com.meplato.store2.ServiceException;\nimport com.meplato.store2.catalogs.Service;\nimport com.meplato.store2.catalogs.SearchResponse;\nimport com.meplato.store2.catalogs.Catalog;\n\n...\n\n// Client is the HTTP Client to use for making HTTP requests.\n// The package comes with a default implementation (ApacheHttpClient),\n// but feel free to create your own.\nClient client = new ApacheHttpClient();\n\n// Instantiate the Catalogs service and set your API token.\nService service = new Service(client);\nservice.setUser(\"\u003cyour-api-token\u003e\");\n\n// Create a search, execute it, and iterate through the results.\nSearchResponse response = service.search().skip(0).take(10).sort(\"-created,name\").execute();\nSystem.out.format(\"You have %d catalog(s).\\n\", response.getTotalItems());\nfor (Catalog catalog : response.getItems()) {\n    System.out.format(\"Catalog with ID=%d has name %s.\\n\", catalog.getId(), catalog.getName());\n}\n```\n\nFeel free to look at the unit tests to get further information on how to use the services.\n\n## Documentation\n\nComplete documentation for the Meplato Store 2 API can be found at\n[https://developer.meplato.com/store2](https://developer.meplato.com/store2).\n\n## Testing\n\nRun `gradle test` to run tests. All tests are mocked: No internet access necessary.\n\n# License\n\nThis software is licensed under the Apache 2 license.\n\n    Copyright (c) 2015 Meplato GmbH \u003chttp://www.meplato.com\u003e\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeplato%2Fstore2-java-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeplato%2Fstore2-java-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeplato%2Fstore2-java-client/lists"}