# RV Player Python API | Get all source node attributes

**URL:** <https://community.shotgridsoftware.com/t/rv-player-python-api-get-all-source-node-attributes/18131>\
**Category:** RV\
**Tags:** python-api, rv\
**Created:** [November 9, 2023, 7:00am UTC](https://community.shotgridsoftware.com/t/rv-player-python-api-get-all-source-node-attributes/18131 "2023-11-09T07:00:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PratikTayshete](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@PratikTayshete](https://community.shotgridsoftware.com/u/PratikTayshete)\
**Post date:** [November 9, 2023, 7:00am UTC](https://community.shotgridsoftware.com/t/rv-player-python-api-get-all-source-node-attributes/18131/1 "2023-11-09T07:00:13Z")

</div>

Hi,  
I am trying to retrieve attributes of all the source nodes. Initially I tried using the `rvc.nodeInfo` but ti was showing that this method does not exist in `rv.commands`. Later on I came across `rvc.sourceAttributes` but the problem I am facing over here is it is giving me the attributes of only first source node and returning `None` for the others.

```auto
import rv.commands as rvc

source_nodes = rvc.nodesOfType("RVSourceGroup")
for node in source_nodes:
    print(node)
    print(rvc.sourceAttributes(node))

```

I also tried to set each node `rvc.setViewNode(node)` within the loop but still not getting any result. I would really appreciate it if anyone could guide me for the process to retrieve attributes for all the source nodes.
