Face palm

PATH: animu/face-palm
METHOD: get
Required queries:
    Status: 200 | Response type: json
    Output:
    {
        link: "",
    }
    
    Status: 429 | Response type: json
    Output:
    {
    "error": "Too many requests, please try again later."
    }
    
    const fetch = require('node-fetch')
    
    fetch('https://some-random-api.ml/animu/face-palm')
    .then(res => res.json())
    .then(json => {
        console.log(json)
    });
    
    import requests
    
    def fetch():
        #making a GET request to the endpoint.
        resp = requests.get("https://some-random-api.ml/animu/face-palm")
        #checking if resp has a healthy status code.
        if 300 > resp.status_code >= 200:
            content = resp.json() #We have a dict now.
        else:
            content = f"Recieved a bad status code of {resp.status_code}."
        print(content)
    fetch())
    

    Hug

    PATH: animu/hug
    METHOD: get
    Required queries:
      Status: 200 | Response type: json
      Output:
      {
          link: "",
      }
      
      Status: 429 | Response type: json
      Output:
      {
      "error": "Too many requests, please try again later."
      }
      
      const fetch = require('node-fetch')
      
      fetch('https://some-random-api.ml/animu/hug')
      .then(res => res.json())
      .then(json => {
          console.log(json)
      });
      
      import requests
      
      def fetch():
          #making a GET request to the endpoint.
          resp = requests.get("https://some-random-api.ml/animu/hug")
          #checking if resp has a healthy status code.
          if 300 > resp.status_code >= 200:
              content = resp.json() #We have a dict now.
          else:
              content = f"Recieved a bad status code of {resp.status_code}."
          print(content)
      fetch())
      

      Pat

      PATH: animu/pat
      METHOD: get
      Required queries:
        Status: 200 | Response type: json
        Output:
        {
            link: "",
        }
        
        Status: 429 | Response type: json
        Output:
        {
        "error": "Too many requests, please try again later."
        }
        
        const fetch = require('node-fetch')
        
        fetch('https://some-random-api.ml/animu/pat')
        .then(res => res.json())
        .then(json => {
            console.log(json)
        });
        
        import requests
        
        def fetch():
            #making a GET request to the endpoint.
            resp = requests.get("https://some-random-api.ml/animu/pat")
            #checking if resp has a healthy status code.
            if 300 > resp.status_code >= 200:
                content = resp.json() #We have a dict now.
            else:
                content = f"Recieved a bad status code of {resp.status_code}."
            print(content)
        fetch())
        

        Quote

        PATH: animu/quote
        METHOD: get
        Required queries:
          Status: 200 | Response type: json
          Output:
          {
              sentence: "",
              character: "",
              anime: ""
          }
          
          Status: 429 | Response type: json
          Output:
          {
          "error": "Too many requests, please try again later."
          }
          
          const fetch = require('node-fetch')
          
          fetch('https://some-random-api.ml/animu/wink')
          .then(res => res.json())
          .then(json => {
              console.log(json)
          });
          
          import requests
          
          def fetch():
              #making a GET request to the endpoint.
              resp = requests.get("https://some-random-api.ml/animu/wink")
              #checking if resp has a healthy status code.
              if 300 > resp.status_code >= 200:
                  content = resp.json() #We have a dict now.
              else:
                  content = f"Recieved a bad status code of {resp.status_code}."
              print(content)
          fetch())
          

          Wink

          PATH: animu/wink
          METHOD: get
          Required queries:
            Status: 200 | Response type: json
            Output:
            {
                link: "",
            }
            
            Status: 429 | Response type: json
            Output:
            {
            "error": "Too many requests, please try again later."
            }
            
            const fetch = require('node-fetch')
            
            fetch('https://some-random-api.ml/animu/wink')
            .then(res => res.json())
            .then(json => {
                console.log(json)
            });
            
            import requests
            
            def fetch():
                #making a GET request to the endpoint.
                resp = requests.get("https://some-random-api.ml/animu/wink")
                #checking if resp has a healthy status code.
                if 300 > resp.status_code >= 200:
                    content = resp.json() #We have a dict now.
                else:
                    content = f"Recieved a bad status code of {resp.status_code}."
                print(content)
            fetch())