Code Monkey home page Code Monkey logo

Comments (8)

kutakmir avatar kutakmir commented on September 14, 2024

ok, it is not there yet, I created a Pull request:
#205

from vimeonetworking.

jvcleave avatar jvcleave commented on September 14, 2024

Any updates on this?

from vimeonetworking.

jvcleave avatar jvcleave commented on September 14, 2024

For anyone else trying to use this with cocoapods:
I was able to use this PR by adding the changes manually but they didn't show up until I ran pod update

I also had to chop of the first / in the VIMAlbum.uri object in order to make it compatible for further requests

from vimeonetworking.

jasonhawkins avatar jasonhawkins commented on September 14, 2024

@jvcleave, @kutakmir Hello! I do actually have an update on this.

We're in the process of adding albums support to VimeoNetworking right now, and I have a feature branch called feature/vim-6641-albums-phase-one where you can find that work.

This branch includes support for creating a request for a specific album. If you're interested in getting all albums for a user, you can access those as a connection on the VIMUser object. Similarly, VIMVideos within an album can be accessed via a connection on the Album object. The new Album model object also has a handful of tests to ensure that our ancient object parsing code is handling everything correctly.

We're not quite ready to merge this into our develop branch, but It's coming soon. And we'll be cutting a new release once it's in there. I know it's not ideal, but if you really need album support right now you can point your Podfile to feature/vim-6641-albums-phase-one and that should get you what you need. I'll be working to make sure it's up-to-date with our develop branch until it's time to merge it in.

I hope this helps. Let me know if you have any questions.

from vimeonetworking.

jvcleave avatar jvcleave commented on September 14, 2024

@jasonhawkins great! I actually don't use Podfiles too often. Do you have an example of what the Podfile should contain?

from vimeonetworking.

jasonhawkins avatar jasonhawkins commented on September 14, 2024

@jvcleave Ah gotcha, do you usually use Submodules or Carthage or something like that instead?

If you wanted to use CocoaPods you could set up a Podfile from scratch using this as a starting point:

source 'https://github.com/CocoaPods/Specs.git'

use_frameworks!

# You can change this to whatever platform and OS version you need. VimeoNetworking supports iOS 8+ and tvOS 9+.
platform :ios, '9.0'

# Don't forget to relace with your target name here.
target 'YourAppTarget' do
    # Ideally you'd want to point to a version number like this:
    # pod 'VimeoNetworking', '3.3.1'

    # But to point to our feature branch you can do this:
    pod 'VimeoNetworking', :git => '[email protected]:vimeo/VimeoNetworking.git', :branch => 'feature/vim-6641-albums-phase-one'
end

post_install do |installer|
    installer.pods_project.targets.each do |target|

        # VimeoNetworking hasn't been updated for Swift 4.2 yet :(
        if target.name == 'VimeoNetworking'
            target.build_configurations.each do |config|
                config.build_settings['SWIFT_VERSION'] = '4.0'
            end
        end
    end
end

from vimeonetworking.

jvcleave avatar jvcleave commented on September 14, 2024

@jasonhawkins not really - I've mostly been lucky enough to do what I need with the native apis

from vimeonetworking.

jasonhawkins avatar jasonhawkins commented on September 14, 2024

@kutakmir @jvcleave I know it's been a long, long time coming, but the albums work has been merged into our develop branch. We'll be working to get this behind an actual release version number soon, but hopefully this is helpful in the meantime.

I'm going to close this issue but feel free to open another if you have any questions or comments. Thanks for your patience 🎉

from vimeonetworking.

Related Issues (20)

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.