Post by kanaksoni85 » Fri Dec 07, 2018 1:25 pm

Hello,
I am newbie in opencart. My site is almost ready and now want to develop android application for same. I have 2 questions.
1. Opencart already has api folder. Can I use those APIs for android application?
2. When I am testing that API in POSTMAN I get an message "Warning: You do not have permission to access the API!" how to solve this.
Also can I get detailed documentation regarding API anywhere?
Thank You.

New member

Posts

Joined
Thu May 10, 2018 1:25 pm

Post by OSWorX » Fri Dec 07, 2018 3:16 pm

Because this API is currently only for internal calls (e.g. from admin).
Further documentation about the API is not really existing (because of internal usage).
And if you are developing, I am sure you can read the code O0

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by paulfeakins » Fri Dec 07, 2018 8:08 pm

kanaksoni85 wrote:
Fri Dec 07, 2018 1:25 pm
I am newbie ... now want to develop android application
Sorry but from your questions it doesn't sound like you have the programming experience to develop an Android application.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by OSWorX » Sat Dec 08, 2018 7:11 am

kanaksoni85 wrote:
Fri Dec 07, 2018 1:25 pm
.. I am newbie in opencart ..
Maybe he is an expert in Java?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by paulfeakins » Mon Dec 10, 2018 5:42 pm

OSWorX wrote:
Sat Dec 08, 2018 7:11 am
Maybe he is an expert in Java?
Possible indeed.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by albertusgeyser » Thu Mar 07, 2019 5:27 am

Good Day

Sorry for asking a question on top of another.
Did i understand correct that i will never be able to use postman to test api as it is only for internal use?
I am also new to opencart, but would like to use python to load products from supplier price list.
I saw this:
http://docs.opencart.com/en-gb/system/users/api/

Tested it in python and could not get it working, same with postman.

Please help.


Posts

Joined
Tue Jan 23, 2018 4:17 am

Post by OSWorX » Thu Mar 07, 2019 7:15 pm

albertusgeyser wrote:
Thu Mar 07, 2019 5:27 am
Did i understand correct that i will never be able to use postman to test api as it is only for internal use?
Correct.
If you need a API for further access from outside, you can develop one.
As far as I can remember myself, there exits one already, guess is from the Brasilian OpenCart Forum/Team and as well available on GitHub.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by thekrotek » Thu Mar 07, 2019 9:09 pm

OSWorX wrote:
Thu Mar 07, 2019 7:15 pm
Correct.
If you need a API for further access from outside, you can develop one.
As far as I can remember myself, there exits one already, guess is from the Brasilian OpenCart Forum/Team and as well available on GitHub.
Why not? cURL is your friend as always. Works just fine.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: Google [Bot] and 42 guests