Giter VIP home page Giter VIP logo

api's People

Contributors

hbakhtiyor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api's Issues

Add option to prettify JSON output

First off, this thing is pretty cool. Second, it would be awesome to have an option to output the JSON responses prettified.

So instead of just being able to receive:

{"url":"https://hackcabin.com/","originalUrl":"http://hackcabin.com","applications":[{"name":"Amazon Cloudfront","confidence":"100","version":"","icon":"Amazon-Cloudfront.svg","website":"http://aws.amazon.com/cloudfront/","categories":["CDN"]},{"name":"Amazon S3","confidence":"100","version":"","icon":"aws-s3.svg","website":"http://aws.amazon.com/s3/","categories":["Miscellaneous"]},{"name":"Google Analytics","confidence":"100","version":"UA","icon":"Google Analytics.svg","website":"http://google.com/analytics","categories":["Analytics"]},{"name":"Hugo","confidence":"100","version":"0.21","icon":"Hugo.png","website":"http://gohugo.io","categories":["CMS","Blogs"]}]}

We would be able to have returned from the API this with use of the option:

{
  "url": "https://hackcabin.com/",
  "originalUrl": "http://hackcabin.com",
  "applications": [
    {
      "name": "Amazon Cloudfront",
      "confidence": "100",
      "version": "",
      "icon": "Amazon-Cloudfront.svg",
      "website": "http://aws.amazon.com/cloudfront/",
      "categories": [
        "CDN"
      ]
    },
    {
      "name": "Amazon S3",
      "confidence": "100",
      "version": "",
      "icon": "aws-s3.svg",
      "website": "http://aws.amazon.com/s3/",
      "categories": [
        "Miscellaneous"
      ]
    },
    {
      "name": "Google Analytics",
      "confidence": "100",
      "version": "UA",
      "icon": "Google Analytics.svg",
      "website": "http://google.com/analytics",
      "categories": [
        "Analytics"
      ]
    },
    {
      "name": "Hugo",
      "confidence": "100",
      "version": "0.21",
      "icon": "Hugo.png",
      "website": "http://gohugo.io",
      "categories": [
        "CMS",
        "Blogs"
      ]
    }
  ]
}

Please disable website cache

I scan a weather site time by time. It looks like the websites are cached. Is it possible to disable the cache?

Full mode produces - "code":"004": An internal error accoured.

Hello,

First of all thanks a lot for your API, it's amazing.
I've started receiving error with parameter full=true
{"error":{"code":"004","message":"An internal error accoured."}}

There are several examples:

Could you please check whether it's a bug or my incorrect usage of API.
Best wishes.

502 Bad Gateway

I'm seeing a 502 Bad Gateway error page when trying to access the website
capture

503 Service Unavailable

Hi, at first, thank you for great apis.
I got a problem today, i always got 503 service unavailable with thumbnail api. It worked fine last week but i don't know what's happened now.
screen shot 2017-10-16 at 9 43 50 am

receiving contacts/social media accounts for a given url

I built quick version, and not yet implemented the list

  • Extract data from parsed structured data.
    e.g.
<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "Organization",
    "name": "Let's Validate",
    "url": "https://www.letsvalidate.com/",
    "logo": "https://www.letsvalidate.com/img/logo.png",
    "email": "[email protected]",
    "description": "Site launch checklist checker",
    "sameAs": [
        "https://www.facebook.com/letsvalidate",
        "https://m.me/letsvalidate",
        "https://twitter.com/letsvalidate",
        "https://plus.google.com/+letsvalidate",
        "https://vk.com/letsvalidate"
    ]
}
</script>
  • Extract data from parsed meta data of twitter card.
    e.g.
<meta name="twitter:site" content="@letsvalidate">
  • Prerender web apps before extracting data.
  • Deeply crawl, e.g. contact page
  • Maybe to use Google knowledge graph too?

the endpoint:

https://api.letsvalidate.com/v1/contacts?url=docker.com&prettify=true

result:

{
  "url": "https://www.docker.com/",
  "originalUrl": "http://docker.com",
  "contacts": {
    "email": null,
    "fax": null,
    "tel": null,
    "socials": [
      {
        "domain": "twitter.com",
        "id": null,
        "name": "docker",
        "confidence": 100,
        "url": "http://twitter.com/docker"
      },
      {
        "domain": "youtube.com",
        "id": null,
        "name": "dockerrun",
        "confidence": 100,
        "url": "http://www.youtube.com/user/dockerrun"
      },
      {
        "domain": "facebook.com",
        "id": null,
        "name": "docker.run",
        "confidence": 100,
        "url": "https://www.facebook.com/docker.run"
      }
    ]
  }
}

@jhabdas What do you think, is it worth to implement it or already available such api?

No sources included

There was probably a mistake when uploading the repository.
There is no LICENSE file (you should always have a good license!), and I can't see the source code.

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.