TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    List your commands

    API
    2
    3
    582
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RussR
      Russ
      last edited by Russ

      List your commands

      import requests
      
      
      url = "https://www.triggercmd.com/api/command/list"
      
      # For authorization
      headers = {
          "Authorization": "Bearer <This is your token from the Instructions page. >"
      }
      
      r = requests.post(url, headers=headers, json=json)
      

      Russell VanderMey

      M 1 Reply Last reply Reply Quote 0
      • M
        manuel @Russ
        last edited by

        @Russ no puedo iniciar sesión porque me piden el token , accedo a instrucciones para comandos token pero no funcionan. que puedo hacer. si me puedes enviar el token de activación por mensaje mejor.

        RussR 1 Reply Last reply Reply Quote 0
        • RussR
          Russ @manuel
          last edited by

          @manuel, I translated that as, "I can't log in because they ask me for the token , I access instructions for token commands but it doesn't work. what can i do If you can send me the activation token by message better."

          You replied to a post about using the API to list commands, but if you're trying to login to the iOS app or the PWA at https://app.triggercmd.com, maybe you need a Pair Code instead of the token? If so you can get that by clicking your name in the upper-right, and clicking Pair like this:

          d30013d5-5906-449b-8b61-a4b93e06a5ca-image.png

          Russell VanderMey

          1 Reply Last reply Reply Quote 0
          • First post
            Last post