Giter Club home page Giter Club logo

giphy-js-sdk-core's People

Contributors

af-inet avatar albertomr86 avatar cosmocochrane1 avatar gaillota avatar giannif avatar jeffpearsall avatar juhq avatar oxmap avatar rodrigobdz avatar ssitu001 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

Watchers

 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

giphy-js-sdk-core's Issues

Missing contribution guidelines

Quoting from Github:

For the repository owner, contribution guidelines are a way to communicate how people should contribute.

For contributors, the guidelines help them verify that they're submitting well-formed pull requests and opening useful issues.

See Microsoft's CONTRIBUTING for VSCode and Facebook's CONTRIBUTING for React Native.

'termSuggestion' endpoint does not work.

Describe the bug
termSuggestion returns a failure with an issue regarding CORS header, when other endpoints seem to be working fine.

To Reproduce
Steps to reproduce the behavior:

  1. Try a request using .termSuggestions(). I have a demo listed below.

Expected behavior
I am expecting a response from the endpoint for 'termSuggestion' but instead I get a CORS error. I am not sure why this is the case if the search endpoint is allowing me to work. Pasting the request url into my browser bar returns {"message":"You cannot consume this service"}

Reproducible Demo

I have made an easy to follow, simple project. You can recreate the results too that cause this issue!
https://github.com/RobertCrowdis/giphy-sdk-example

Desktop (please complete the following information):
Running on latest version of Chrome as of 2/20/2019, Macbook Air with macOS High Sierra 10.13.4

Travis CI build status unknown

Describe the bug
The build status from the Travis CI API is not loading correctly. Showing status unknown currently.

To Reproduce
Steps to reproduce the behavior:

  1. Check the badge on the README.

Expected behavior
Show current build status.

Screenshots
Build status unknown

Missing downsized

Hello,

The js api is great, but origal size gif are heavy, is there a reson why "downsized", "downsized_still" and "downsized_large" sizes are not included in the returned objects ?

Thanks for the feedback

Improve README structure

Is your feature request related to a problem? Please describe.
The current README has a mixed structure and seems desorganized.

Describe the solution you'd like
Follow Github's recommended format.

Describe alternatives you've considered
Follow a well-structured format.

'isomorphic-fetch' breaks react-native projects

I can't use this api within a react native project as it conflicts with react natives own fetch.

To fix I have uncommented require('isomorphic-fetch'); from line 14 in RequestHandler.js

Is there a more solid fix?

Maintainer permissions

I am using the SDK in a project and have encountered some bugs that could easily be fixed. There are some PRs that haven't been merged that should fix these bugs, as well as outdated issues.

I was told by @Nolski that @cosmocochrane1 is the one responsible for the repo. I would like to receive maintainer permissions to help with PRs and Issues.

random endpoint response does not match response in giphy API explorer

The response I'm getting from the random endpoint looks totally different than to what's on both the docs and Giphy's API explorer.
I'm getting this response:

{
  data:{

    images: {fixed_height_downsampled: {…}, fixed_height_small: {…}, fixed_width_downsampled: {…}, fixed_width_small: {…}, fixed_width_small_still: {…}, …}
    type: "gif"
    url: "https://giphy.com/gifs/url"
    user:{
      username: ""

    }
  }
}

On Giphy's API explorer, the response looks to be

{
  "data": {
    "images": {
      //image_urls
    }
    "type": "gif",
       "id": "GIF_ID",
       "slug": "slug",
       "url": "giphy-url.url",
       "bitly_gif_url": "bit.ly.url",
       "bitly_url": "bit.ly.url",
       "embed_url": "embed.url",
       "username": "",
       "source": "source_url.com",
       "content_url": "",
       "source_tld": "www.google.com",
       "source_post_url": "source_url.com",
       "is_sticker": 0,
       "import_datetime": "2015-05-20 20:37:11",
       "trending_datetime": "1970-01-01 00:00:00",
  }
}

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.