You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.
This is an awesome project! Would love to see something thats runnable via script instead of having to bring up the entire server.
E.g reposting an ad by python3 repost my_ad.yml. The content of my_ad.yml could be just be all the attributes that get submit when using kijijis website (can post the ad once manually, look at the network console, and copy everything over). If all of that is converted into your submitFunction that would be really slick.
Another approach would be to document what the payload of the submitFunction should look like so people can create their own custom ads to pass to it. However, since different ads have different attributes it would be hard to cover all the bases
The text was updated successfully, but these errors were encountered:
Essentially what you're looking for is a bridge between my api and ArthurG's project.
This project does save an xml file (the kijiji mingle server uses xml) after successfully posting an ad if the repost option is selected. Those xml files have the ability to be manually submitted to the mingle server as raw requests. So in theory, this is no real issue, all the necessary api calls should be in the kijiji api file. Once you've created the xml file, you'd just need to send a delete request for the ad id, then resubmit the ad after a 3 minute delay. The only difference is that this project uses dynamic attributes & categories (i.e. it grabs them on the fly so they're always up to date) during ad creation, where ArthurG's uses static attributes and categories that require constant updating.
So you could create an ad creation script which uses the dynamic function abilities requesting input from the user, or you could just create a script that downloads the categories and attributes and uses static similarly to ArthurG's.
Don't have a lot of time at the moment, but could look back into this issue in a few months. Otherwise, you're more than welcome to take a crack at it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is an awesome project! Would love to see something thats runnable via script instead of having to bring up the entire server.
E.g reposting an ad by
python3 repost my_ad.yml
. The content ofmy_ad.yml
could be just be all the attributes that get submit when using kijijis website (can post the ad once manually, look at the network console, and copy everything over). If all of that is converted into yoursubmitFunction
that would be really slick.Another approach would be to document what the payload of the
submitFunction
should look like so people can create their own custom ads to pass to it. However, since different ads have different attributes it would be hard to cover all the basesThe text was updated successfully, but these errors were encountered: