# Zugriff auf sArticles über sAPI

**URL:** <https://forum.shopware.com/t/zugriff-auf-sarticles-uber-sapi/8159>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [27. August 2012 um 16:12 UTC](https://forum.shopware.com/t/zugriff-auf-sarticles-uber-sapi/8159 "2012-08-27T16:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bora](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@bora](https://forum.shopware.com/u/bora)\
**Post date:** [27. August 2012 um 16:12 UTC](https://forum.shopware.com/t/zugriff-auf-sarticles-uber-sapi/8159/1 "2012-08-27T16:12:05Z")

</div>

ich schreibe eine externe Anwendung und würde gerne über die Shopware API auf die Methoden von sArticles zugreifen. Geht das und wenn ja, wie? Alles was ich ausprobiert habe klappt leider nicht. `$sAPI = new sAPI(); $article = $sAPI-\>sArticles-\>sGetArticleById(12345) //...usw` Momentan gehe ich etwas umständlich über die DB Klasse `$sAPI-\>sDB-\>GetAll("... FROM s\_articles ... WHERE id=12345")` Danke schonmal!

---

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [28. August 2012 um 08:13 UTC](https://forum.shopware.com/t/zugriff-auf-sarticles-uber-sapi/8159/2 "2012-08-28T08:13:59Z")

</div>

Moin, GetArticleById hat aber nichts mit der API zu tun. Du kannst nur auf die Methoden der API, welche hier beschrieben sind zugeifen: [http://wiki.shopware.de/API-Export-Funk … #sArticles](http://wiki.shopware.de/API-Export-Funktionen%5C_detail%5C_248.html#sArticles) Für die ArtikelDetails z.B. ` $sAPI-\>sArticlesDetails ( array("articleID"=\>12345) ); `
