Skip to content

Android sample project that fetch (liked) videos from your youtube channel or any playlist.

License

Notifications You must be signed in to change notification settings

ganesh2shiv/yt-channel-list-android

Repository files navigation

Youtube Channel List

Android sample project that fetch (liked) videos from your youtube channel or any playlist.

Features

  • Use Youtube Data v3 API
  • Endless scroll RecyclerView with ProgressBar
  • Youtube OAuth Integration with auto renewal token
  • Fetch liked/watched videos from your youtube channel
  • Handle configuration changes (orientation)
  • Support landscape and portrait mode
  • Fetch videos from any playlist

Screenshots





Can I haz?

Sure. Just follow the following steps after downloading this project.

  1. Open Google developers console and click on the "Create project" button

    Screenshot 1

  2. Enter the project name and click on the "Create" button

    Screenshot 2

  3. You would be redirected to the created project dashboard

  4. Click on the "Enable and manage APIs" card on the screen.

    Screenshot 3

  5. Click on the Youtube Data v3 API and enable it.

  6. Click on the "Go to Credentials" button

    Screenshot 4

  7. Click on the "What credentials do I need?" button

    Screenshot 5

  8. Enter the SHA1 signing-certificate fingerprint

  9. Enter the package name (app.vedicnerd.ytwua)

  10. Click on the "Create client ID" button

Screenshot 6

  1. Enter the product name and click on the "Continue" button

  2. Click on the "Done" button

  3. Click on "New Credentials" dropdown button

  4. Select "API key" option in the dropdown

  5. Click on the "Android key" button

  6. Click on the "Create" button

(You can restrict the API key usage to your app only by adding package name and fingerprint but that's optional)

  1. Copy the API key and paste it here

  2. Done. Now you can run the app.

TODO

  • Fix fragment issue on config changes
  • Fix duplicate items in list issue
  • Include unit tests if possible
  • Implement MVP architecture

Credits

Thanks to mSobhy90 for this gist.

License

Copyright 2015 Ganesh Mohan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Android sample project that fetch (liked) videos from your youtube channel or any playlist.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages