{"id":21719982,"url":"https://github.com/ext/magento-api-stub","last_synced_at":"2025-03-20T21:27:10.668Z","repository":{"id":20961405,"uuid":"24250114","full_name":"ext/Magento-Api-Stub","owner":"ext","description":"Magento stub module providing simple SOAP API","archived":false,"fork":false,"pushed_at":"2014-09-20T00:54:39.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-26T01:45:48.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/ext.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":"2014-09-20T00:53:19.000Z","updated_at":"2014-09-20T00:54:39.000Z","dependencies_parsed_at":"2022-07-30T02:38:03.283Z","dependency_job_id":null,"html_url":"https://github.com/ext/Magento-Api-Stub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2FMagento-Api-Stub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2FMagento-Api-Stub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2FMagento-Api-Stub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2FMagento-Api-Stub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ext","download_url":"https://codeload.github.com/ext/Magento-Api-Stub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235619759,"owners_count":19019403,"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-26T01:46:14.501Z","updated_at":"2025-01-25T18:28:41.122Z","avatar_url":"https://github.com/ext.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento SOAP API Module Stub\n\nA stub module which provides a custom API using SOAP. Works with both V1 and V2 (but not WSI yet). Supposed to work out-of-the-box. Tested on Magento 1.8 - 1.9.\n\n# Usage\n\n1. Install module\n2. Flush cache (to refresh config.xml and api.xml)\n3. Create new API Role with appropriate permissions\n4. Create new API User and assign it the newly created role\n5. If WSDL cache is enabled (System -\u003e Configuration -\u003e Magento Core API) you may need to flush system WSDL cache (e.g. remove file from `/tmp` but read documentation for your system)\n6. Fetch `http://example.net/api/v2_soap?wsdl=1` in a browser and make sure `myresource` is present.\n7. Try to use the API in your client\n\n# Sample client\n\n```PHP\n// API V2\n$client = new SoapClient('http://example.net/api/v2_soap?wsdl=1');\n$session = $client-\u003elogin($user, $apikey);\nvar_dump($client-\u003eapiprefix_myresourceMyfunction($session));\n\n// API V1\n$client = new SoapClient('http://example.net/api/soap/?wsdl=1');\n$session = $client-\u003elogin($user, $apikey);\nvar_dump($client-\u003ecall($session, 'myresource.myfunction', array(array())));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fext%2Fmagento-api-stub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fext%2Fmagento-api-stub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fext%2Fmagento-api-stub/lists"}