40thieves / nodealm

A Node wrapper for the Public Library of Science Article Level Metrics API
MIT License
2 stars 1 forks source link

Sources array should use data source name, not number as key #2

Closed 40thieves closed 10 years ago

40thieves commented 10 years ago

Example:

result[0] = {
    ...,
    sources: [
        twitter: {
            name: 'twitter',
            display_name: 'Twitter',
            events_url: null,
            metrics: {
                ...
            }
        }
    ]
}