inakiabt / etsy-php

Etsy API wrapper for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies?

villanus opened this issue · comments

Does this still have the PERL dependencies? I am looking for something I can use on a windows II7 machine running php. Actually the goal is to use JavaScript (jquery) to push values to something like your library, and then have your library do the OAuth nonsense with etsy. Is this sort of what you have mapped out with querystrings?

Thanks

Yes, it's still have the OAuth dependency. What do you recommend?

it would be super sweet if the dependency did not exist and this was a 100 percent php solution. even better would be if it was just a wrapper where each etsy mehod was its own php script and then each vale passed as form variables. that way you could ue this with client side jswithout delving into php code.

how about this outh library?
https://code.google.com/p/oauth-php/

Last year I started a new branch to decouple the OAuth dependency (https://github.com/inakiabt/etsy-php/tree/client_abstraction), but I'm not having much time to finish it, right now.
Feel free to submit a pull request ;)

Im not a php coder, but found this oauth library which you may want to look at if you have time. http://www.phpclasses.org/package/7700-PHP-Authorize-and-access-APIs-using-OAuth.html

It has support for Etsy API,

So in this -> (https://github.com/inakiabt/etsy-php/tree/client_abstraction) library if we could remove dependency of client folder, then we can remove the oauth and pecl dependency ?
Actually, I have a oauth 1.0 for etsy that is working fine for all other things except uploading images. Your SDK did upload the images and its cool but it is dependent. So can we mix up this two Wrapper and create new ? . I can send you the full code, the library is not made by me though, i got it from somewhere and i am currently using that. Butt it lacks image uploading part. Thanks.

@Tekrajs I'm actually looking for help, so if you can give a hand would be great. Thanks.

@inakiabt I would love to assist you. But I have very little understanding of oauth. I already said i can provide you the working library for etsy api . Can you integrate in your wrapper? But as is said it supports all things accept image uploading.

Also I am doing research on it, as i need it very much. If in case i made it working, I will for sure notify you
:).

I've found two PHP-OAuth libraries so far:

I recommend the second, it is up to date and has over 100 contributors, so it's probably going to stay fairly well supported for the near/far future.

UPDATE: Erm, this has a supposedly working example for Etsy integration by none other than... @inakiabt ? :)
https://github.com/Lusitanian/PHPoAuthLib/blob/master/examples/etsy.php