# Alte API in Shopware 5.1

**URL:** <https://forum.shopware.com/t/alte-api-in-shopware-5-1/31922>\
**Category:** Programmierung\
**Created:** [3. November 2015 um 20:40 UTC](https://forum.shopware.com/t/alte-api-in-shopware-5-1/31922 "2015-11-03T20:40:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tigersoft](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@Tigersoft](https://forum.shopware.com/u/Tigersoft)\
**Post date:** [3. November 2015 um 20:40 UTC](https://forum.shopware.com/t/alte-api-in-shopware-5-1/31922/1 "2015-11-03T20:40:43Z")

</div>

Bisher konnte ich die alten API Funktionen in einem Frontend Controller über `$api = Shopware()-\>Api()-\>Import();` aufrufen. Bei 5.0 ging es noch, ab 5.1.0 ist es nicht mehr möglich. Wie kann ich weiterhin die alten API-Funktionen ansprechen?

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [3. November 2015 um 20:44 UTC](https://forum.shopware.com/t/alte-api-in-shopware-5-1/31922/2 "2015-11-03T20:44:08Z")

</div>

[quote]Removed previously deprecated API Shopware()-\>Api()[/quote] Siehe [https://github.com/shopware/shopware/bl … UPGRADE.md](https://github.com/shopware/shopware/blob/5.1/UPGRADE.md) Viele Grüße
