• Resolved Robert

    (@robg48)


    Hello,

    I’m trying to import app reviews/data from a site – 42matters.com – and have no idea how to do it.

    There appear to be two methods – one using a “GET” – and this is the example it gives (without my api token):

    Resource URL
     https://42matters.com/api/1/ios/apps/search.json
    HTTP Method
    GET

    The other method allows you to do a search and then displays this, saying “Your Query” but as it doesn’t even list any url I’m not even sure if it’s for external use or just an example – but an example of what and how do I use it?

    {
      "query": {
        "name": "Most Popular Apps",
        "platform": "ios",
        "query_params": {
          "from": 0,
          "num": 100,
          "sort": "userRatingCount",
          "sort_order": "desc",
          "primaryGenreId": [
            6020
          ],
          "genreIds": [],
          "contentAdvisoryRating": [
            "4+",
            "9+",
            "12+",
            "17+",
            "Not yet rated"
          ],
          "rating_gte": 3.5,
          "ratings_count_gte": 0
        }
      }
    }

    If anyone understands what I’m talking – you’re way ahead of me! ??

    Can anyone help out?

    Thanks!
    Rob

Viewing 4 replies - 1 through 4 (of 4 total)
  • This isn’t really a WordPress issue, you should really be reading the api documentation getting support from the api source. I really recommend just hiring a developer though since this is not really a task for an unexperienced developer.

    Thread Starter Robert

    (@robg48)

    I wasn’t aware that everything had to be a WordPress issue – I thought you could ask questions regarding how to do things within, or using, WordPress…?

    Anyhow there wasn’t any documentation at the source just the examples that I posted.

    As it turns out though, this is something that seems to concern WordPress as there’s quite a few plugins that actually retrieve, format, and post data from url’s exactly like I posted under “Resource URL”.

    So all anyone has to do to implement this “get method” – who’s not a Linux box or unfamiliar with setting up a command line/cron arrangement – is get a plugin!

    I tried a few and “JSON API” works perfectly and is simple – no developer needed, not even an unexperienced one ??

    Well to get you started I would take a look at wp_remote_get(); That will do a GET request and return the results.

    Thread Starter Robert

    (@robg48)

    Hey CS – now THAT looks like something I’ll need a developer for! lol

    The vendor, on their website, claims to have a widget…couldn’t find it so I wrote them…hopefully that will be the simplest.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to display an HTTP "GET"?’ is closed to new replies.