Git Product home page Git Product logo

google-translate-free-api's Introduction

Hi! I'm Datpmt

Metrics

Github Stats

Metrics

Tech Stats

Favorite movies

Favorite characters




google-translate-free-api's People

Contributors

datpmt avatar

Stargazers

 avatar  avatar

Watchers

 avatar

google-translate-free-api's Issues

IP blocked?

Hi, I am accessing your API through TypeScript in Singapore. After retrieving a couple of times, the server stopped responding. Wonder if the API blocks IPs for making calls up to a certain limit and how to resolve and avoid it.

config: {
      url: 'https://api.datpmt.com/api/v1/dictionary/detection?string=Das ist sehr schoen!',
      method: 'get',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      transitional: [Object],
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: true,
      socket: [TLSSocket],
      _header: 'GET /api/v1/dictionary/detection?string=Das%20ist%20sehr%20schoen! HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/0.21.4\r\n' +
        'Host: api.datpmt.com\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/api/v1/dictionary/detection?string=Das%20ist%20sehr%20schoen!',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'api.datpmt.com',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    data: '<!DOCTYPE html>\n' +
      '<html>\n' +
      '<head>\n' +
      "  <title>We're sorry, but something went wrong (500)</title>\n" +
      '  <meta name="viewport" content="width=device-width,initial-scale=1">\n' +
      '  <style>\n' +
      '  .rails-default-error-page {\n' +
      '    background-color: #EFEFEF;\n' +
      '    color: #2E2F30;\n' +
      '    text-align: center;\n' +
      '    font-family: arial, sans-serif;\n' +
      '    margin: 0;\n' +
      '  }\n' +
      '\n' +
      '  .rails-default-error-page div.dialog {\n' +
      '    width: 95%;\n' +
      '    max-width: 33em;\n' +
      '    margin: 4em auto 0;\n' +
      '  }\n' +
      '\n' +
      '  .rails-default-error-page div.dialog > div {\n' +
      '    border: 1px solid #CCC;\n' +
      '    border-right-color: #999;\n' +
      '    border-left-color: #999;\n' +
      '    border-bottom-color: #BBB;\n' +
      '    border-top: #B00100 solid 4px;\n' +
      '    border-top-left-radius: 9px;\n' +
      '    border-top-right-radius: 9px;\n' +
      '    background-color: white;\n' +
      '    padding: 7px 12% 0;\n' +
      '    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);\n' +
      '  }\n' +
      '\n' +
      '  .rails-default-error-page h1 {\n' +
      '    font-size: 100%;\n' +
      '    color: #730E15;\n' +
      '    line-height: 1.5em;\n' +
      '  }\n' +
      '\n' +
      '  .rails-default-error-page div.dialog > p {\n' +
      '    margin: 0 0 1em;\n' +
      '    padding: 1em;\n' +
      '    background-color: #F7F7F7;\n' +
      '    border: 1px solid #CCC;\n' +
      '    border-right-color: #999;\n' +
      '    border-left-color: #999;\n' +
      '    border-bottom-color: #999;\n' +
      '    border-bottom-left-radius: 4px;\n' +
      '    border-bottom-right-radius: 4px;\n' +
      '    border-top-color: #DADADA;\n' +
      '    color: #666;\n' +
      '    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);\n' +
      '  }\n' +
      '  </style>\n' +
      '</head>\n' +
      '\n' +
      '<body class="rails-default-error-page">\n' +
      '  <!-- This file lives in public/500.html -->\n' +
      '  <div class="dialog">\n' +
      '    <div>\n' +
      "      <h1>We're sorry, but something went wrong.</h1>\n" +
      '    </div>\n' +
      '    <p>If you are the application owner check the logs for more information.</p>\n' +
      '  </div>\n' +
      '</body>\n' +
      '</html>\n'
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.