IMatch-Python-API

Started by dcb, March 29, 2024, 07:23:40 AM

Previous topic - Next topic

dcb

I'm pleased to be able to share my IMatch-Python-API code on github. It's a Python class that wraps calls to a limited set of API functions (those I need) and has the script I'm now using to upload from IMatch to pixelfed.

https://github.com/quantumgardener/IMatch-Python-API

A flickr script will be added in the future.
Have you backed up your photos today?

thrinn

Very interesting! Thanks for sharing!
Thorsten
Win 10 / 64, IMatch 2018, IMA

Ger

Same here. Very much interested to follow and maybe use!

Ger

Mario

Thanks for sharing :)
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Always great to see folks developing stuff for IMatch scripting!  Appreciated...

dcb

flickr code is up. Uploads only but I have prepped for it to at least be able to tell me of differences, if not fix them.

Odd issue with tags. flickr is pulling in hierarchical keywords badly as tags so I'm deleting them, but they come back.

For now at least, it does 99% of what I need so that's a big time saver.
Have you backed up your photos today?

dcb

After 2 days and a massive rewrite, I've renamed the repository as "IMatch-to-Socials". The old name is a bit deceptive and could lead people to think it's a full IMatch API wrapper for Python and that's not the case.

The old link at the top of the thread redirects. New link is https://github.com/quantumgardener/IMatch-to-Socials

The code has been almost rewritten from the ground up and makes much better use of Python's object-oriented features and self-referencing.

Still to do updating/replacing, but the changes I've just made will make that much easier.
Have you backed up your photos today?

dcb

Finally got this beast finished - at least before I start on Facebook and Instagram automation :D .

Have you backed up your photos today?

Mario

Very neat! Thanks for sharing :)
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

sinus

Quote from: dcb on May 04, 2024, 09:41:53 AMFinally got this beast finished - at least before I start on Facebook and Instagram automation :D .



Without understandig a lot of your stuff, I am impressed.
A lot of work and I guess, it works very good.
And what I like very much is your detailled documentaion.

Thanks a lot for sharing. :D
Best wishes from Switzerland! :-)
Markus

Jingo

Agree.. this is some great stuff here... thx for sharing! 

As an aside - it doesn't seem like you can - but can Pixelfed be self hosted but on a shared hosting platform?  Appears you need a dedicated server with root access for setup..  always on the lookout for a new photo gallery app that uses PHP and can be self hosted with my shared hosting platform.

dcb

Quote from: Jingo on May 04, 2024, 01:50:50 PMAgree.. this is some great stuff here... thx for sharing!

As an aside - it doesn't seem like you can - but can Pixelfed be self hosted but on a shared hosting platform?  Appears you need a dedicated server with root access for setup..  always on the lookout for a new photo gallery app that uses PHP and can be self hosted with my shared hosting platform.
Take a look at shared hosting for Mastodon. That would be your best bet to find a way. I looked at that in the past out of interest and it was way too complex for me. Self-hosted will have plenty of help. Self-hosted on shared, shrug.
Have you backed up your photos today?

Jingo

Thanks... I saw the self-hosting (local) instructions which were complex but still not too bad but could not find anything for shared hosting (online) so perhaps this just isn't an option.  Thx again!